I do not consider myself as a programmer. I create these little programs as experiments to play with Python, or to solve problems for myself. I would gladly accept pointers from others to improve, simplify, or make the code more efficient. If you would like to make any comments then please feel free to email me: [email protected].
This repository contains a collection of Python scripts that are designed to reduce human workload and serve as educational examples for beginners to get started with Python. The code documentation is aligned correctly for viewing in Notepad++ 🗒️
Feel free to explore the scripts and use them for your learning and automation needs!
- batch_file_rename.py - Batch rename a group of files in a specified directory, changing their extensions.
- create_dir_if_not_there.py - Check if a directory exists in the user's home directory. Create it if it doesn't exist.
- Fast Youtube Downloader - Download YouTube videos quickly with parallel threads using aria2c.
- Google Image Downloader - Query a given term and retrieve images from the Google Image database.
- dir_test.py - Test if the directory
testdir
exists. If not, create it. - env_check.py - Check if all the required environment variables are set.
- blackjack.py - Casino Blackjack-21 game in Python.
- fileinfo.py - Show file information for a given file.
- folder_size.py - Scan the current directory and all subdirectories and display their sizes.
- logs.py - Search for all
*.log
files in a directory, zip them using the specified program, and date stamp them. - move_files_over_x_days.py - Move all files over a specified age (in days) from the source directory to the destination directory.
- nslookup_check.py - Open the file
server_list.txt
and perform nslookup for each server to check the DNS entry. - osinfo.py - Display information about the operating system on which the script is running.
- ping_servers.py - Ping the servers associated with the specified application group.
- ping_subnet.py - Scan the final range of a given IP subnet for available addresses.
- powerdown_startup.py - Ping machines in the server list. Load the putty session if the machine is up, or notify if it is not.
- puttylogs.py - Zip all the logs in the given directory.
- script_count.py - Scan the scripts directory and count the different types of scripts.
- get_youtube_view.py - Get more views for YouTube videos and repeat songs on YouTube.
- script_listing.py - List all files in a given directory and its subdirectories.
- testlines.py - Open a file and print out 100 lines of the set line variable.
- tweeter.py - Tweet text or a picture from the terminal.
- serial_scanner.py - List available serial ports in use on Linux and Windows systems.
- get_youtube_view.py - Get more views for YouTube videos and repeat songs on YouTube.
- CountMillionCharacter.py and CountMillionCharacter2.0 - Get character count of a text file.
- xkcd_downloader.py - Download the latest XKCD comic and place them in a new folder called "comics".
- timymodule.py - An alternative to Python's 'timeit' module and easier to use.
- calculator.py - Implement a calculator using Python's eval() function.
- Google_News.py - Use BeautifulSoup to provide latest news headlines along with news links.
- cricket_live_score - Use BeautifulSoup to provide live cricket scores.
- youtube.py - Take a song name as input and fetch the YouTube URL of the best matching song and play it.
- site_health.py - Check the health of a remote server.
- SimpleStopWatch.py - Simple stop watch implementation using Python's time module.
- Changemac.py - Change your MAC address, generate a random MAC address, or enter input as a new MAC address on Linux (Successfully Tested in Ubuntu 18.04).
- whatsapp-monitor.py - Use Selenium to give online status updates about your contacts in WhatsApp on the terminal.
- whatsapp-chat-analyzer.py - WhatsApp group/individual chat analyzer that visualizes chat activity using matplotlib.
- JARVIS.py - Control Windows programs with your voice.
- Images Downloader - Download images from webpages on Unix-based systems.
- space_invader.py.py - Classical 2D space invader game to recall your childhood memories.
- Test Case Generator - Generate different types of test cases with a clean and friendly UI, used in competitive programming and software testing.
- Extract Thumbnail From Video - Extract Thumbnail from video files
Note: The content in this repository belongs to the respective authors and creators. I'm just providing a formatted README.md for better presentation.