|
1 |
| -Master |
2 |
| -# This document helps to understand python in detail.And tells you More Information |
3 |
| -======= |
4 |
| -# This document helps to understand python in details. |
5 |
| -master |
6 |
| -# My Python Examples for everyone |
7 |
| -======= |
| 1 | +# My Python Eggs 🐍 😄 |
8 | 2 |
|
9 |
| -master |
10 |
| -# My Python Eggs :snake: :smile: |
11 | 3 | <hr>
|
12 |
| -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: |
13 |
| -master |
14 | 4 |
|
15 |
| -# My Best Python Examples for education |
16 |
| -master |
| 5 | +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]. |
17 | 6 |
|
18 |
| - |
19 |
| - |
20 |
| - |
21 |
| -master |
22 |
| -These scripts contain important functions which help reduce human workload. |
23 |
| -Code documentation is aligned correctly when the files are viewed in [Notepad++](https://notepad-plus-plus.org/). :spiral_notepad: |
24 | 7 | <hr>
|
25 | 8 |
|
26 |
| -This script contain important functions which help in reducing human workload. And also helps beginners to get started with python. |
27 |
| -Code documentation is aligned correctly when the files are viewed in [Notepad++](https://notepad-plus-plus.org/). |
28 |
| -Jarvis is used as a google assistant. |
29 |
| -master |
30 |
| - |
31 |
| -- [batch_file_rename.py](https://github.com/geekcomputers/Python/blob/master/batch_file_rename.py) - This batch renames a group of files in a given directory, once you pass the current and the new extensions. |
32 |
| - |
33 |
| -- [create_dir_if_not_there.py](https://github.com/geekcomputers/Python/blob/master/create_dir_if_not_there.py) - Checks to see if a directory exists in the users home directory. If a directory does not exist, then one will be created. |
34 |
| - |
35 |
| -- [Fast Youtube Downloader](https://github.com/geekcomputers/Python/blob/master/youtube-downloader%20fast.py) - Downloads YouTube videos quickly with parallel threads using aria2c. |
36 |
| - |
37 |
| -- [Google Image Downloader](https://github.com/geekcomputers/Python/tree/master/Google_Image_Downloader) - Query a given term and retrieve images from the Google Image database. |
38 |
| - |
39 |
| -- [dir_test.py](https://github.com/geekcomputers/Python/blob/master/dir_test.py) - Tests to see if the directory `testdir` exists, if not it will create the directory for you if you want it created. |
40 |
| - |
41 |
| -- [env_check.py](https://github.com/geekcomputers/Python/blob/master/env_check.py) - This script will check to see if all of the environment variables required are set. |
42 |
| - |
43 |
| -- [blackjack.py](https://github.com/Ratna04priya/Python/blob/master/BlackJack_game/blackjack.py) - This script contains the Casino BlackJack-21 Game in Python. |
44 |
| - |
45 |
| -- [fileinfo.py](https://github.com/geekcomputers/Python/blob/master/fileinfo.py) - Shows file information for a given file. |
46 |
| - |
47 |
| -- [folder_size.py](https://github.com/geekcomputers/Python/blob/master/folder_size.py) - Scans the current directory and all subdirectories and displays the size. |
48 |
| - |
49 |
| -- [logs.py](https://github.com/geekcomputers/Python/blob/master/logs.py) - This script will search for all `*.log` files in the given directory, zip them using the program you specify, and then date stamp them. |
50 |
| - |
51 |
| -- [move_files_over_x_days.py](https://github.com/geekcomputers/Python/blob/master/move_files_over_x_days.py) - Moves all files over a specified age (in days) from the source directory to the destination directory. |
52 |
| - |
53 |
| -- [nslookup_check.py](https://github.com/geekcomputers/Python/blob/master/nslookup_check.py) - This simple script opens the file `server_list.txt` and then does a nslookup for each one to check the DNS entry. |
54 |
| - |
55 |
| -- [osinfo.py](https://github.com/geekcomputers/Python/blob/master/osinfo.py) - Displays some information about the OS on which you are running this script. |
56 |
| - |
57 |
| -- [ping_servers.py](https://github.com/geekcomputers/Python/blob/master/ping_servers.py) - This script, depending on the arguments supplied, will ping the servers associated with that application group. |
58 |
| - |
59 |
| -- [ping_subnet.py](https://github.com/geekcomputers/Python/blob/master/ping_subnet.py) - After supplying the first 3 octets this file scans the final range for available addresses. |
60 |
| - |
61 |
| -- [powerdown_startup.py](https://github.com/geekcomputers/Python/blob/master/powerdown_startup.py) - This file goes through the server list and pings the machine, if it is up it will load the putty session, if it is not then it will notify you. |
62 |
| - |
63 |
| -- [puttylogs.py](https://github.com/geekcomputers/Python/blob/master/puttylogs.py) - This file zips up all the logs in the given directory. |
64 |
| - |
65 |
| -- [script_count.py](https://github.com/geekcomputers/Python/blob/master/script_count.py) - This file scans the scripts directory and gives a count of the different types of scripts. |
66 |
| - |
67 |
| -- [get_youtube_view.py] - This is a simple python script used to get more views on your YouTube videos. This script may also be used to repeat songs on YouTube. |
| 9 | +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++](https://notepad-plus-plus.org/) :spiral_notepad: |
| 10 | + |
| 11 | +Feel free to explore the scripts and use them for your learning and automation needs! |
| 12 | + |
| 13 | +## List of Scripts: |
| 14 | + |
| 15 | +1. [batch_file_rename.py](https://github.com/geekcomputers/Python/blob/master/batch_file_rename.py) - Batch rename a group of files in a specified directory, changing their extensions. |
| 16 | +2. [create_dir_if_not_there.py](https://github.com/geekcomputers/Python/blob/master/create_dir_if_not_there.py) - Check if a directory exists in the user's home directory. Create it if it doesn't exist. |
| 17 | +3. [Fast Youtube Downloader](https://github.com/geekcomputers/Python/blob/master/youtube-downloader%20fast.py) - Download YouTube videos quickly with parallel threads using aria2c. |
| 18 | +4. [Google Image Downloader](https://github.com/geekcomputers/Python/tree/master/Google_Image_Downloader) - Query a given term and retrieve images from the Google Image database. |
| 19 | +5. [dir_test.py](https://github.com/geekcomputers/Python/blob/master/dir_test.py) - Test if the directory `testdir` exists. If not, create it. |
| 20 | +6. [env_check.py](https://github.com/geekcomputers/Python/blob/master/env_check.py) - Check if all the required environment variables are set. |
| 21 | +7. [blackjack.py](https://github.com/Ratna04priya/Python/blob/master/BlackJack_game/blackjack.py) - Casino Blackjack-21 game in Python. |
| 22 | +8. [fileinfo.py](https://github.com/geekcomputers/Python/blob/master/fileinfo.py) - Show file information for a given file. |
| 23 | +9. [folder_size.py](https://github.com/geekcomputers/Python/blob/master/folder_size.py) - Scan the current directory and all subdirectories and display their sizes. |
| 24 | +10. [logs.py](https://github.com/geekcomputers/Python/blob/master/logs.py) - Search for all `*.log` files in a directory, zip them using the specified program, and date stamp them. |
| 25 | +11. [move_files_over_x_days.py](https://github.com/geekcomputers/Python/blob/master/move_files_over_x_days.py) - Move all files over a specified age (in days) from the source directory to the destination directory. |
| 26 | +12. [nslookup_check.py](https://github.com/geekcomputers/Python/blob/master/nslookup_check.py) - Open the file `server_list.txt` and perform nslookup for each server to check the DNS entry. |
| 27 | +13. [osinfo.py](https://github.com/geekcomputers/Python/blob/master/osinfo.py) - Display information about the operating system on which the script is running. |
| 28 | +14. [ping_servers.py](https://github.com/geekcomputers/Python/blob/master/ping_servers.py) - Ping the servers associated with the specified application group. |
| 29 | +15. [ping_subnet.py](https://github.com/geekcomputers/Python/blob/master/ping_subnet.py) - Scan the final range of a given IP subnet for available addresses. |
| 30 | +16. [powerdown_startup.py](https://github.com/geekcomputers/Python/blob/master/powerdown_startup.py) - Ping machines in the server list. Load the putty session if the machine is up, or notify if it is not. |
| 31 | +17. [puttylogs.py](https://github.com/geekcomputers/Python/blob/master/puttylogs.py) - Zip all the logs in the given directory. |
| 32 | +18. [script_count.py](https://github.com/geekcomputers/Python/blob/master/script_count.py) - Scan the scripts directory and count the different types of scripts. |
| 33 | +19. [get_youtube_view.py](https://github.com/geekcomputers/Python/blob/master/get_youtube_view.py) - Get more views for YouTube videos and repeat songs on YouTube. |
| 34 | +20. [script_listing.py](https://github.com/geekcomputers/Python/blob/master/script_listing.py) - List all files in a given directory and its subdirectories. |
| 35 | +21. [testlines.py](https://github.com/geekcomputers/Python/blob/master/testlines.py) - Open a file and print out 100 lines of the set line variable. |
| 36 | +22. [tweeter.py](https://github.com/geekcomputers/Python/blob/master/tweeter.py) - Tweet text or a picture from the terminal. |
| 37 | +23. [serial_scanner.py](https://github.com/geekcomputers/Python/blob/master/serial_scanner.py) - List available serial ports in use on Linux and Windows systems. |
| 38 | +24. [get_youtube_view.py](https://github.com/geekcomputers/Python/blob/master/get_youtube_view.py) - Get more views for YouTube videos and repeat songs on YouTube. |
| 39 | +25. [CountMillionCharacter.py](https://github.com/geekcomputers/Python/blob/master/CountMillionCharacter.py) and [CountMillionCharacter2.0](https://github.com/geekcomputers/Python/blob/master/CountMillionCharacters-2.0.py) - Get character count of a text file. |
| 40 | +26. [xkcd_downloader.py](https://github.com/geekcomputers/Python/blob/master/xkcd_downloader.py) - Download the latest XKCD comic and place them in a new folder called "comics". |
| 41 | +27. [timymodule.py](https://github.com/geekcomputers/Python/blob/master/timymodule.py) - An alternative to Python's 'timeit' module and easier to use. |
| 42 | +28. [calculator.py](https://github.com/geekcomputers/Python/blob/master/calculator.py) - Implement a calculator using Python's eval() function. |
| 43 | +29. [Google_News.py](https://github.com/geekcomputers/Python/blob/master/Google_News.py) - Use BeautifulSoup to provide latest news headlines along with news links. |
| 44 | +30. [cricket_live_score](https://github.com/geekcomputers/Python/blob/master/Cricket_score.py) - Use BeautifulSoup to provide live cricket scores. |
| 45 | +31. [youtube.py](https://github.com/geekcomputers/Python/blob/master/youtube.py) - Take a song name as input and fetch the YouTube URL of the best matching song and play it. |
| 46 | +32. [site_health.py](https://github.com/geekcomputers/Python/blob/master/site_health.py) - Check the health of a remote server. |
| 47 | +33. [SimpleStopWatch.py](https://github.com/geekcomputers/Python/blob/master/SimpleStopWatch.py) - Simple stop watch implementation using Python's time module. |
| 48 | +34. [Changemac.py](https://github.com/geekcomputers/Python/blob/master/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). |
| 49 | +35. [whatsapp-monitor.py](https://github.com/geekcomputers/Python/blob/master/whatsapp-monitor.py) - Use Selenium to give online status updates about your contacts in WhatsApp on the terminal. |
| 50 | +36. [whatsapp-chat-analyzer.py](https://github.com/subahanii/whatsapp-Chat-Analyzer) - WhatsApp group/individual chat analyzer that visualizes chat activity using matplotlib. |
| 51 | +37. [JARVIS.py](https://git.io/fjH8m) - Control Windows programs with your voice. |
| 52 | +38. [Images Downloader](https://git.io/JvnJh) - Download images from webpages on Unix-based systems. |
| 53 | +39. [space_invader.py.py](https://github.com/meezan-mallick/space_invader_game) - Classical 2D space invader game to recall your childhood memories. |
| 54 | +40. [Test Case Generator](https://github.com/Tanmay-901/test-case-generator/blob/master/test_case.py) - Generate different types of test cases with a clean and friendly UI, used in competitive programming and software testing. |
68 | 55 |
|
69 |
| -- [script_listing.py](https://github.com/geekcomputers/Python/blob/master/script_listing.py) - This file will list all the files in the given directory, and go through all the subdirectories as well. |
70 |
| - |
71 |
| -- [testlines.py](https://github.com/geekcomputers/Python/blob/master/testlines.py) - This simple script opens a file and prints out 100 lines of whatever is the set for the line variable. |
72 |
| - |
73 |
| -- [tweeter.py](https://github.com/geekcomputers/Python/blob/master/tweeter.py) - Allows you to tweet text or a picture from the terminal. |
74 |
| - |
75 |
| -- [serial_scanner.py](https://github.com/geekcomputers/Python/blob/master/serial_scanner.py) contains a method called ListAvailablePorts which returns a list with the names of the serial ports that are in use in the computer. This method works only on Linux and Windows (can be extended for mac OS). If no port is found, an empty list is returned. |
76 |
| - |
77 |
| -- [get_youtube_view.py](https://github.com/geekcomputers/Python/blob/master/get_youtube_view.py) - A simple python script to get more views for your YouTube videos. Useful for repeating songs on YouTube. |
78 |
| - |
79 |
| -- [CountMillionCharacter.py](https://github.com/geekcomputers/Python/blob/master/CountMillionCharacter.py) And [CountMillionCharacter2.0](https://github.com/geekcomputers/Python/blob/master/CountMillionCharacters-2.0.py).py - Gets character count of a text file. |
80 |
| - |
81 |
| -- [xkcd_downloader.py](https://github.com/geekcomputers/Python/blob/master/xkcd_downloader.py) - Downloads the latest XKCD comic and places them in a new folder called "comics". |
82 |
| - |
83 |
| -- [timymodule.py](https://github.com/geekcomputers/Python/blob/master/timymodule.py) - A great alternative to Python 'timeit' module and easier to use. |
84 |
| - |
85 |
| -- [calculator.py](https://github.com/geekcomputers/Python/blob/master/calculator.py) - Uses Python's eval() function to implement a calculator. |
86 |
| - |
87 |
| -- [Google_News.py](https://github.com/geekcomputers/Python/blob/master/Google_News.py) - Uses BeautifulSoup to provide Latest news headline along with news link. |
88 |
| - |
89 |
| -- [cricket_live_score](https://github.com/geekcomputers/Python/blob/master/Cricket_score.py) - Uses BeautifulSoup to provide live cricket score. |
90 |
| - |
91 |
| -- [youtube.py](https://github.com/geekcomputers/Python/blob/master/youtube.py) - It Takes a song name as input and fetches the YouTube URL of the best matching song and plays it. |
92 |
| - |
93 |
| -- [site_health.py](https://github.com/geekcomputers/Python/blob/master/site_health.py) - Checks the health of a remote server. |
94 |
| - |
95 |
| -- [SimpleStopWatch.py](https://github.com/geekcomputers/Python/blob/master/SimpleStopWatch.py) - Simple Stop Watch implementation using Python's time module. |
96 |
| - |
97 |
| -- [Changemac.py](https://github.com/geekcomputers/Python/blob/master/changemac.py) - This script change your MAC address , generate random MAC address or enter input as new MAC address in your Linux(Successfully Tested in Ubuntu 18.04). |
98 |
| -- |
99 |
| -- [whatsapp-monitor.py](https://github.com/geekcomputers/Python/blob/master/whatsapp-monitor.py) - Uses Selenium to give online status about your contacts when your contacts become online in WA you will get an update about it on terminal. |
100 |
| - |
101 |
| -- [whatsapp-chat-analyzer.py](https://github.com/subahanii/whatsapp-Chat-Analyzer) - This is Whatsapp group/individual chat analyzer . |
102 |
| -This script is able to analyze all activity happened in Whatsapp group and visualize all things through matplotlib library(In Graph form). |
103 |
| - |
104 |
| -- [JARVIS.py](https://git.io/fjH8m) - Control windows programs with your voice. |
105 |
| - |
106 |
| - |
107 |
| -- [Images Downloader](https://git.io/JvnJh) - Download Image Form webpage Work on Unix based systems. |
108 |
| - |
109 |
| -- [space_invader.py.py](https://github.com/meezan-mallick/space_invader_game) - Classical space invader 2D game. <br> |
110 |
| -Recall your old childhood memories, by playing the classic space invader game. |
111 |
| - |
112 |
| -- [Test Case Generator](https://github.com/Tanmay-901/test-case-generator/blob/master/test_case.py) - Generates different types of test cases with a clean and friendly UI, used in competitive programming and potentially for software testing. |
| 56 | +<hr> |
113 | 57 |
|
| 58 | +_**Note**: The content in this repository belongs to the respective authors and creators. I'm just providing a formatted README.md for better presentation._ |
0 commit comments