Skip to content

Latest commit

 

History

History
77 lines (41 loc) · 1.59 KB

README.md

File metadata and controls

77 lines (41 loc) · 1.59 KB

Python Todo (2)

installation library

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

In linux

  • pygame : pip install pygame or sudo pacman -S python-pygame

  • tkcalendar : pip install tkcalendar

For install tkinter in linux

  • 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

In windows

  • pygame : pip install pygame

  • tkcalendar : pip install tkcalendar

For install tkinter in windows

Install Python

Download and install the latest version of Python from the official website: https://www.python.org/downloads/

Check Tkinter installation

Open a command prompt and type the following command: python -m tkinter

Install ActivePython (optional)

Download and install ActivePython from the official website: https://www.activestate.com/products/python/downloads/

Install Tkinter using pip

Open a command prompt and type the following command: pip install tkinter


You can change the alert

In line 196

sound = pygame.mixer.Sound('alert.mp3')

undraw_cat_epte