#This is a new repo
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
- 8_puzzle.py - 8-puzzle sliding game solver using A* algorithm
- ARKA.py - Interactive text-based adventure game with multiple scenarios
- BruteForce.py - Brute force password cracking demonstration tool
- CSV_file.py - CSV file manipulation and data processing utilities
- FizzBuzz.py - Classic FizzBuzz programming challenge implementation
- Hangman.py - Interactive hangman word guessing game
- JsonParser.py - JSON file parsing and manipulation utilities
- List.py - List data structure operations and examples
- Multiply.py - Mathematical multiplication operations and calculations
- Organise.py - File organization and directory management tool
- PONG_GAME.py - Classic Pong arcade game implementation
- Polyline.py - Geometric polyline drawing and manipulation
- RandomDice.py - Random dice rolling simulation game
- SOUNDEX.py - SOUNDEX phonetic algorithm implementation
- Strings.py - String manipulation and processing utilities
- TTS.py - Text-to-speech conversion utility
- TicTacToe.py - Interactive Tic-Tac-Toe game implementation
- Todo_GUi.py - GUI-based todo list management application
- WeatherGUI.py - Weather information display with graphical interface
- Web Socket.py - WebSocket communication implementation
- automail.py - Automated email sending utility
- basic_cal.py - Basic calculator with arithmetic operations
- billing.py - Billing and invoice generation system
- binod.py - Text processing and manipulation utility
- birthdays.py - Birthday reminder and management system
- bodymass.py - Body Mass Index (BMI) calculator
- calc_area.py - Geometric area calculation for various shapes
- calci.py - Advanced calculator with scientific functions
- chaos.py - Chaos theory and fractal generation
- check_file.py - File existence and properties checking utility
- consonant.py - Consonant and vowel analysis in text
- dec_to_hex.py - Decimal to hexadecimal number conversion
- diamond.py - Diamond pattern generation and display
- dice.py - Dice rolling simulation and statistics
- diction.py - Dictionary and word lookup utilities
- encryptsys.py - Text encryption and decryption system
- equations.py - Mathematical equation solver
- ex20.py - Programming exercise and example code
- factors.py - Prime factorization and number analysis
- fastapi.py - FastAPI web framework demonstration
- fetch_news.py - News fetching and aggregation utility
- fibonacci.py - Fibonacci sequence generation and analysis
- find_prime.py - Prime number detection and generation
- friday.py - Virtual assistant with voice commands
- gambler.py - Gambling simulation and probability analysis
- gcd.py - Greatest Common Divisor calculation
- google.py - Google search automation utility
- googlemaps.py - Google Maps integration and location services
- googleweb.py - Google web search and result processing
- greaterno.py - Number comparison and analysis utility
- greattwono.py - Two-number comparison operations
- happy_num.py - Happy number detection and generation
- heap_sort.py - Heap sort algorithm implementation
- helloworld.py - Basic "Hello World" program example
- index.py - Index and search functionality implementation
- iprint.py - Enhanced printing and output formatting
- is_number.py - Number validation and type checking
- jee_result.py - JEE exam result processing and analysis
- largestno.py - Largest number finding algorithm
- lcm.py - Least Common Multiple calculation
- leap year.py - Leap year detection and calendar utilities
- length.py - Length and distance measurement utilities
- loader.py - File loading and data import utilities
- login.py - User authentication and login system
- loops.py - Loop structures and iteration examples
- magic8ball.py - Magic 8-ball fortune telling game
- mapit.py - Address mapping and location services
- meme_maker.py - Meme generation and image processing
- memorygame.py - Memory matching game implementation
- merge.py - Data merging and combination utilities
- new.py - Template for new Python projects
- new_script.py - Script generation and automation tool
- nmap_scan.py - Network scanning and port analysis
- num-py.py - NumPy array operations and examples
- oneeven.py - Even number detection and processing
- palindrome.py - Palindrome detection and generation
- pan.py - PAN card validation and processing
- ph_email.py - Phone and email validation utilities
- polygon.py - Polygon geometry and calculation tools
- power_of_n.py - Power and exponentiation calculations
- pscheck.py - Process monitoring and system checking
- psunotify.py - System notification and alert utility
- pyauto.py - Automation and scripting utilities
- pygame.py - Pygame game development examples
- python_sms.py - SMS sending and messaging utilities
- qrcode.py - QR code generation and processing
- qrdecoder.py - QR code decoding and reading utility
- quiz_game.py - Interactive quiz game with scoring
- quote.py - Inspirational quote generator and display
- rangoli.py - Rangoli pattern generation and art
- recyclebin.py - Recycle bin management and file recovery
- repeat.py - Text and pattern repetition utilities
- rook.py - Chess rook movement and game logic
- rotatelist.py - List rotation and manipulation operations
- scalg.py - Scientific algorithm implementations
- scrap_file.py - Web scraping and data extraction
- sendemail.py - Email sending and SMTP utilities
- sha1.py - SHA1 hash generation and verification
- snake.py - Classic Snake game implementation
- stack.py - Stack data structure operations
- sudoku.py - Sudoku puzzle solver and generator
- swap.py - Variable swapping and exchange operations
- tik_tak.py - Alternative Tic-Tac-Toe game implementation
- time_delta.py - Time difference calculation utilities
- triangles.py - Triangle geometry and calculation tools
- tuple.py - Tuple data structure operations and examples
- two_num.py - Two-number mathematical operations
- voice.py - Voice recognition and speech processing
- webcam.py - Webcam capture and image processing
- wikipedia.py - Wikipedia search and content retrieval
- news_oversimplifier.py - News article simplification and summarization
- wiki/wiki.py - Wikipedia content extraction and processing
- PDF/basic.py - Basic PDF generation and manipulation
- How to begin the journey of open source (first contribution) - First Contribution of open source
Note: The content in this repository belongs to the respective authors and creators. I'm just providing a formatted README.md for better presentation.
- Clone the repository
git clone https://github.com/geekcomputers/Python.git cd Python
- Choose a script to run
Each script in this repository is standalone and can be executed directly.
Most scripts in this repository rely only on the Python standard library, so they can usually run without installing extra packages.
β οΈ ImportantSome scripts may require additional Python libraries.
The repository provides a dependency file (e.g.,requirements.txt
) as a reference, but it may not list all required packages.
Check each script's header or comments for any extra dependencies that may need manual installation.To install the listed dependencies, run:
pip install -r requirements.txtFor any missing packages, install them manually:
pip install <package-name>
Note
Python version support:
Most scripts currently run on Python 3.6 and above.
In future releases, the minimum supported Python version will gradually be updated to 3.9 or later.
This project is licensed under the MIT License.
You are free to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the project, subject to the following conditions:
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.