import tkinter as tk
import pygame
from tkinter import messagebox, ttk
from datetime import datetime, time as dt_time
import pickle
from tkcalendar import Calendar
from time import strftime
-
pygame :
pip install pygame
orsudo pacman -S python-pygame
-
tkcalendar :
pip install tkcalendar
-
For Debian-based Linux (such as Ubuntu, Debian, Pop!_OS), run the following command:
sudo apt-get install python3-tk
-
For Arch-based Linux systems, run the following command:
sudo pacman -S tk
-
pygame :
pip install pygame
-
tkcalendar :
pip install tkcalendar
Download and install the latest version of Python from the official website: https://www.python.org/downloads/
Open a command prompt and type the following command:
python -m tkinter
Download and install ActivePython from the official website: https://www.activestate.com/products/python/downloads/
Open a command prompt and type the following command:
pip install tkinter
In line 196
sound = pygame.mixer.Sound('alert.mp3')