A collection of Python scripts I've written, developed, and organized to automate tasks, explore programming concepts, and build useful tools.
This repository contains scripts for file management, data conversion, games, graphics, sorting algorithms, and everyday automation. Each category has its own directory to keep things organized.
Feel free to explore the scripts, use them, and suggest improvements. Please respect the repository's license and credit the original author when using or adapting code.
I created this repository to collect my Python projects in one place, making them easier to maintain, explore, and improve.
The repository includes beginner-friendly programs, practical utilities, small games, graphical experiments, and scripts that automate repetitive tasks.
Most scripts focus on a specific task and can be explored independently. Some projects require additional Python packages, so check the relevant source code and any accompanying README.md or requirements.txt before running them.
Python-Scripts/
├── Converters/
├── Design/
├── Games/
├── Sorting/
├── Tools/
├── CONTRIBUTING.md
├── LICENSE
└── README.md
Each directory contains scripts grouped by purpose. Some projects have their own subdirectories for related files, documentation, and dependencies.
Contributions, bug fixes, suggestions, and improvements are welcome.
If you'd like to contribute, please read CONTRIBUTING.md for the contribution guidelines.
Before submitting a pull request, please:
- Open an issue to discuss significant changes or new scripts.
- Keep your code readable and consistent with the existing project structure.
- Include documentation and dependency information where necessary.
- Update this README when adding a new script.
- Remove unnecessary temporary files and generated artifacts.
I'll review contributions and provide feedback where necessary.
Scripts for converting files, images, documents, and data between different formats.
| Script | Description |
|---|---|
| Audio Book | Converts text or supported documents into audio. |
| Convert Temperature | Converts temperatures between Fahrenheit, Celsius, and Kelvin. |
| CSV to Excel | Converts CSV files into Excel spreadsheets. |
| CSV to NDJSON | Converts CSV data into newline-delimited JSON. |
| Emoji to PDF | Creates PDF documents containing emojis. |
| HTML to Images | Converts HTML documents into images. |
| Image to ASCII | Converts images into ASCII art. |
| Image to GIF | Creates GIF animations from images. |
| Image to WebP | Converts images into WebP format. |
| Image to WebP GUI | Provides a graphical interface for converting images to WebP. |
| Image Text to PDF | Combines images and text into PDF documents. |
| JSON to CSV 1 | Converts JSON data into CSV format. |
| JSON to CSV 2 | Provides another implementation of JSON-to-CSV conversion. |
| JSON to YAML | Converts JSON data into YAML format. |
| Longitude and Latitude Converter | Converts geographic coordinates using the Lambert conformal conic projection. |
| PDF to HTML | Converts PDF documents into HTML. |
| PDF to Text | Extracts text from PDF documents. |
| PNG to JPG | Converts PNG images into JPG format. |
| Text to Image | Converts text into images. |
| Weight Converter | Converts between different weight measurement units. |
| Word to PDF | Converts Word documents into PDF files. |
Scripts for generating graphics, patterns, and visual experiments.
| Script | Description |
|---|---|
| Font Art | Generates text-based font art. |
| Fractal Tree | Generates a fractal tree using recursive drawing. |
| Star Pattern | Creates star patterns using Python. |
| Turtle Graphics | Demonstrates graphics and drawing using Python's Turtle module. |
The Design/Turtle Art/ directory contains additional drawing projects.
| Script | Description |
|---|---|
| Art 2 | A Turtle graphics drawing. |
| Art 4 | A Turtle graphics drawing. |
| Art 5 | A Turtle graphics drawing. |
| Doraemon | Draws Doraemon using Turtle graphics. |
| Happy Birthday | Creates a birthday-themed drawing. |
| Pikachu | Draws Pikachu using Turtle graphics. |
| Rainbow Hexagon | Creates a rainbow-colored hexagonal pattern. |
| Rainbow Triangle | Creates a rainbow-colored triangular pattern. |
| Scenery | Draws a scenery illustration. |
| Shinchan | Draws Shinchan using Turtle graphics. |
| Sunflower | Creates a sunflower drawing. |
| X Square | Creates a geometric drawing. |
The Design/Turtle Art/Prompt_Based/ directory contains interactive drawing scripts.
| Script | Description |
|---|---|
| Benzene | Draws a benzene ring. |
| Tkinter Name | Displays a name using a Tkinter interface. |
| Windows Logo | Draws a Windows-style logo. |
Small games and simulations built with Python.
| Script | Description |
|---|---|
| Blackjack | A playable Blackjack card game. |
| Chessboard | Generates a chessboard using Python. |
| Connect Four | Implements the Connect Four game. |
| Hangman | A word-guessing game in which players guess letters to reveal a hidden word. |
| Planet Simulation | Simulates planets orbiting the Sun. |
| Rock Paper Scissors | Implements the classic Rock Paper Scissors game. |
| Snake Water Gun | A game based on the Rock Paper Scissors concept. |
| Tic Tac Toe | Implements the classic Tic Tac Toe game. |
| Snake Game | A Snake game with separate modules for the game, food, snake, and scoreboard. |
Implementations of common sorting algorithms.
| Script | Description |
|---|---|
| Bubble Sort | Sorts elements using the bubble sort algorithm. |
| Insertion Sort | Sorts elements using the insertion sort algorithm. |
| Selection Sort | Sorts elements using the selection sort algorithm. |
Utilities for automation, file management, data processing, networking, and other everyday tasks.
| Script | Description |
|---|---|
| Automated Emails | Automates email-related tasks. |
| Birthday Manager | Manages birthday information and related email automation. |
| DDoS Demonstration | Demonstrates concurrent HTTP request generation. Use only in an authorized test environment. |
| Disk Usage Visualizer | Displays directories that consume the most disk space. |
| Distance Calculator | Calculates the distance between two points. |
| Duplicate Finder | Identifies duplicate files using file hashes. |
| Expense Tracker | Tracks expenses and stores related data. |
| Face Reaction | Attempts to detect facial expressions. |
| Fake Profile Generator | Generates sample profile data. |
| File Encryption and Decryption | Encrypts and decrypts files. |
| File Organizer | Organizes files according to their types. |
| File Renamer | Renames multiple files automatically. |
| File Search | Searches for files in directories and subdirectories. |
| File Text Search | Searches files for specific text or phrases. |
| Hand Volume Control | Uses hand tracking to control system volume. |
| Image Compressor | Compresses image files. |
| Image Watermarker | Adds watermarks to images. |
| Instagram Downloader | Downloads supported Instagram content. |
| Jokes Generator | Generates or retrieves jokes. |
| Merge Images | Combines images horizontally or vertically. |
| Morse Code | Encodes and decodes Morse code. |
| Multi-Platform Icon Generator | Generates application icons for multiple platforms. |
| Password Generator | Generates random passwords. |
| Pomodoro Timer | Implements a Pomodoro timer for focused work sessions and breaks. |
| Python GUI Notepad | A simple graphical text editor. |
| QR Code Generator | Generates QR codes from provided data. |
| QR Code Ticket Generator | Generates QR-code-based tickets. |
| QR Code with Logo | Creates QR codes with a logo. |
| Random Color Generator | Generates random colors. |
| Random Song Generator | Selects songs based on the provided mood or input. |
| Recently Accessed Files | Identifies recently accessed files. |
| Subnetting Calculator | Calculates network information from an IP address and subnet mask. |
| Countdown Timer | Implements a timer for specified durations. |
| Umbrella Reminder | Provides an umbrella reminder. |
| URL Shortener | Generates shorter URLs from longer ones. |
| Web Scraper | Scrapes information from websites. |
| Website Cloner | Downloads and serves supported website content locally. |
| Wikipedia Extractor | Extracts information from Wikipedia. |
| YouTube Downloader | Downloads supported YouTube media. |
This repository includes a LICENSE file. Please review it before using, modifying, or redistributing the code.
When using or adapting code contributed by someone else, respect the applicable license and preserve any required attribution.
If you find something useful here, consider giving the repository a star.
If you encounter a bug or have an idea for an improvement, feel free to open an issue.
Thanks for visiting!