An archive of Python programs I made when learning Python.
These programs were made around 2019 or 2020 while I was learning Python. Feel free to laugh at the code quality and lack of usage of type hints :)
Made some minimal changes in referenced file paths in some programs.
Dependencies are now managed with poetry, as opposed to pip which I used earlier for these programs.
IIRC these programs were originally written in Python 3.6 or 3.7
Tested on Python 3.11.3, all programs work without any issues.
- 1am_lofi.py – Opens 1 A.M Study Session 📚 - [lofi hip hop/chill beats] by ChilledCow (Now Lofi Girl) on Sound Cloud.
- balloon_tip – Create and display COVID-19 status in a balloon tooltip on Windows
- covid_info – Scrapes and prints COVID-19 stats from https://www.worldometers.info/coronavirus
- ipadd.py – Display device's IPv4 address
- login_det_saver.py – A simple password manager which stores details in a
⚠️ plain text file. - login_det_saver_gui – GUI (made with Tkinter) for a simple password manager which stores details in a
⚠️ plain text file.- It was a painful using tkinter as a beginner python developer because of lack of proper documentation — or maybe I was just bad at finding it at that time ¯\_(ツ)_/¯
- By the looks of it, https://tkdocs.com/ seems to be the modern documentation/tutorial site.
- moviemanager.py – A menu driven program to add, list and find movie details.
- pdf_to_mp3 – Given a PDF file, extract text, convert text to audio using gTTs and play it with system media player
- pong – A simple pong game with a single paddle. Made with pygame
- stack_smash.py – Automate the game Stack Smash using pyautogui
⚠️ the program auto clicks, run with caution- Got the idea to automate this from the book Automate the Boring Stuff with Python
- A recommended read for beginners.
- sudoku_checker.py – Determines if solved sudoku is correct or incorrect.
- sudoku_solver.py – Given an unsolved/partially solved sudoku, solves it.
- tic-tac-toe – An interactive CLI tic-tac-toe game with 2 game modes:
- human vs human
- human vs computer
- timesincebirth.py – An interactive CLI that displays the year, hours, minutes and seconds since your birthdate.
- yt_playlist_vid_embed_link.py – Opens YouTube playlist as an embed and does some misc actions to
⚠️ the program auto clicks, run with caution