Skip to content

Yuukilo/Python

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

#This is a new repo

My Python Eggs 🐍 πŸ˜„


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!

List of Scripts:

  1. batch_file_rename.py - Batch rename a group of files in a specified directory, changing their extensions.
  2. create_dir_if_not_there.py - Check if a directory exists in the user's home directory. Create it if it doesn't exist.
  3. Fast Youtube Downloader - Download YouTube videos quickly with parallel threads using aria2c.
  4. Google Image Downloader - Query a given term and retrieve images from the Google Image database.
  5. dir_test.py - Test if the directory testdir exists. If not, create it.
  6. env_check.py - Check if all the required environment variables are set.
  7. blackjack.py - Casino Blackjack-21 game in Python.
  8. fileinfo.py - Show file information for a given file.
  9. folder_size.py - Scan the current directory and all subdirectories and display their sizes.
  10. logs.py - Search for all *.log files in a directory, zip them using the specified program, and date stamp them.
  11. move_files_over_x_days.py - Move all files over a specified age (in days) from the source directory to the destination directory.
  12. nslookup_check.py - Open the file server_list.txt and perform nslookup for each server to check the DNS entry.
  13. osinfo.py - Display information about the operating system on which the script is running.
  14. ping_servers.py - Ping the servers associated with the specified application group.
  15. ping_subnet.py - Scan the final range of a given IP subnet for available addresses.
  16. powerdown_startup.py - Ping machines in the server list. Load the putty session if the machine is up, or notify if it is not.
  17. puttylogs.py - Zip all the logs in the given directory.
  18. script_count.py - Scan the scripts directory and count the different types of scripts.
  19. get_youtube_view.py - Get more views for YouTube videos and repeat songs on YouTube.
  20. script_listing.py - List all files in a given directory and its subdirectories.
  21. testlines.py - Open a file and print out 100 lines of the set line variable.
  22. tweeter.py - Tweet text or a picture from the terminal.
  23. serial_scanner.py - List available serial ports in use on Linux and Windows systems.
  24. get_youtube_view.py - Get more views for YouTube videos and repeat songs on YouTube.
  25. CountMillionCharacter.py and CountMillionCharacter2.0 - Get character count of a text file.
  26. xkcd_downloader.py - Download the latest XKCD comic and place them in a new folder called "comics".
  27. timymodule.py - An alternative to Python's 'timeit' module and easier to use.
  28. calculator.py - Implement a calculator using Python's eval() function.
  29. Google_News.py - Use BeautifulSoup to provide latest news headlines along with news links.
  30. cricket_live_score - Use BeautifulSoup to provide live cricket scores.
  31. youtube.py - Take a song name as input and fetch the YouTube URL of the best matching song and play it.
  32. site_health.py - Check the health of a remote server.
  33. SimpleStopWatch.py - Simple stop watch implementation using Python's time module.
  34. 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).
  35. whatsapp-monitor.py - Use Selenium to give online status updates about your contacts in WhatsApp on the terminal.
  36. whatsapp-chat-analyzer.py - WhatsApp group/individual chat analyzer that visualizes chat activity using matplotlib.
  37. JARVIS.py - Control Windows programs with your voice.
  38. Images Downloader - Download images from webpages on Unix-based systems.
  39. space_invader.py.py - Classical 2D space invader game to recall your childhood memories.
  40. Test Case Generator - Generate different types of test cases with a clean and friendly UI, used in competitive programming and software testing.
  41. Extract Thumbnail From Video - Extract Thumbnail from video files
  42. 8_puzzle.py - 8-puzzle sliding game solver using A* algorithm
  43. ARKA.py - Interactive text-based adventure game with multiple scenarios
  44. BruteForce.py - Brute force password cracking demonstration tool
  45. CSV_file.py - CSV file manipulation and data processing utilities
  46. FizzBuzz.py - Classic FizzBuzz programming challenge implementation
  47. Hangman.py - Interactive hangman word guessing game
  48. JsonParser.py - JSON file parsing and manipulation utilities
  49. List.py - List data structure operations and examples
  50. Multiply.py - Mathematical multiplication operations and calculations
  51. Organise.py - File organization and directory management tool
  52. PONG_GAME.py - Classic Pong arcade game implementation
  53. Polyline.py - Geometric polyline drawing and manipulation
  54. RandomDice.py - Random dice rolling simulation game
  55. SOUNDEX.py - SOUNDEX phonetic algorithm implementation
  56. Strings.py - String manipulation and processing utilities
  57. TTS.py - Text-to-speech conversion utility
  58. TicTacToe.py - Interactive Tic-Tac-Toe game implementation
  59. Todo_GUi.py - GUI-based todo list management application
  60. WeatherGUI.py - Weather information display with graphical interface
  61. Web Socket.py - WebSocket communication implementation
  62. automail.py - Automated email sending utility
  63. basic_cal.py - Basic calculator with arithmetic operations
  64. billing.py - Billing and invoice generation system
  65. binod.py - Text processing and manipulation utility
  66. birthdays.py - Birthday reminder and management system
  67. bodymass.py - Body Mass Index (BMI) calculator
  68. calc_area.py - Geometric area calculation for various shapes
  69. calci.py - Advanced calculator with scientific functions
  70. chaos.py - Chaos theory and fractal generation
  71. check_file.py - File existence and properties checking utility
  72. consonant.py - Consonant and vowel analysis in text
  73. dec_to_hex.py - Decimal to hexadecimal number conversion
  74. diamond.py - Diamond pattern generation and display
  75. dice.py - Dice rolling simulation and statistics
  76. diction.py - Dictionary and word lookup utilities
  77. encryptsys.py - Text encryption and decryption system
  78. equations.py - Mathematical equation solver
  79. ex20.py - Programming exercise and example code
  80. factors.py - Prime factorization and number analysis
  81. fastapi.py - FastAPI web framework demonstration
  82. fetch_news.py - News fetching and aggregation utility
  83. fibonacci.py - Fibonacci sequence generation and analysis
  84. find_prime.py - Prime number detection and generation
  85. friday.py - Virtual assistant with voice commands
  86. gambler.py - Gambling simulation and probability analysis
  87. gcd.py - Greatest Common Divisor calculation
  88. google.py - Google search automation utility
  89. googlemaps.py - Google Maps integration and location services
  90. googleweb.py - Google web search and result processing
  91. greaterno.py - Number comparison and analysis utility
  92. greattwono.py - Two-number comparison operations
  93. happy_num.py - Happy number detection and generation
  94. heap_sort.py - Heap sort algorithm implementation
  95. helloworld.py - Basic "Hello World" program example
  96. index.py - Index and search functionality implementation
  97. iprint.py - Enhanced printing and output formatting
  98. is_number.py - Number validation and type checking
  99. jee_result.py - JEE exam result processing and analysis
  100. largestno.py - Largest number finding algorithm
  101. lcm.py - Least Common Multiple calculation
  102. leap year.py - Leap year detection and calendar utilities
  103. length.py - Length and distance measurement utilities
  104. loader.py - File loading and data import utilities
  105. login.py - User authentication and login system
  106. loops.py - Loop structures and iteration examples
  107. magic8ball.py - Magic 8-ball fortune telling game
  108. mapit.py - Address mapping and location services
  109. meme_maker.py - Meme generation and image processing
  110. memorygame.py - Memory matching game implementation
  111. merge.py - Data merging and combination utilities
  112. new.py - Template for new Python projects
  113. new_script.py - Script generation and automation tool
  114. nmap_scan.py - Network scanning and port analysis
  115. num-py.py - NumPy array operations and examples
  116. oneeven.py - Even number detection and processing
  117. palindrome.py - Palindrome detection and generation
  118. pan.py - PAN card validation and processing
  119. ph_email.py - Phone and email validation utilities
  120. polygon.py - Polygon geometry and calculation tools
  121. power_of_n.py - Power and exponentiation calculations
  122. pscheck.py - Process monitoring and system checking
  123. psunotify.py - System notification and alert utility
  124. pyauto.py - Automation and scripting utilities
  125. pygame.py - Pygame game development examples
  126. python_sms.py - SMS sending and messaging utilities
  127. qrcode.py - QR code generation and processing
  128. qrdecoder.py - QR code decoding and reading utility
  129. quiz_game.py - Interactive quiz game with scoring
  130. quote.py - Inspirational quote generator and display
  131. rangoli.py - Rangoli pattern generation and art
  132. recyclebin.py - Recycle bin management and file recovery
  133. repeat.py - Text and pattern repetition utilities
  134. rook.py - Chess rook movement and game logic
  135. rotatelist.py - List rotation and manipulation operations
  136. scalg.py - Scientific algorithm implementations
  137. scrap_file.py - Web scraping and data extraction
  138. sendemail.py - Email sending and SMTP utilities
  139. sha1.py - SHA1 hash generation and verification
  140. snake.py - Classic Snake game implementation
  141. stack.py - Stack data structure operations
  142. sudoku.py - Sudoku puzzle solver and generator
  143. swap.py - Variable swapping and exchange operations
  144. tik_tak.py - Alternative Tic-Tac-Toe game implementation
  145. time_delta.py - Time difference calculation utilities
  146. triangles.py - Triangle geometry and calculation tools
  147. tuple.py - Tuple data structure operations and examples
  148. two_num.py - Two-number mathematical operations
  149. voice.py - Voice recognition and speech processing
  150. webcam.py - Webcam capture and image processing
  151. wikipedia.py - Wikipedia search and content retrieval
  152. news_oversimplifier.py - News article simplification and summarization
  153. wiki/wiki.py - Wikipedia content extraction and processing
  154. PDF/basic.py - Basic PDF generation and manipulation
  155. 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.

How to Run?

  1. Clone the repository
    git clone https://github.com/geekcomputers/Python.git
    cd Python
  2. Choose a script to run
    Each script in this repository is standalone and can be executed directly.

Dependencies

Most scripts in this repository rely only on the Python standard library, so they can usually run without installing extra packages.

⚠️ Important

Some 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.txt  

For any missing packages, install them manually:

pip install <package-name>  

python version support

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.

License

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.

About

My Python Examples

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 81.6%
  • Jupyter Notebook 17.0%
  • Tcl 0.7%
  • HTML 0.6%
  • Java 0.1%
  • Makefile 0.0%