diff --git a/README.md b/README.md index 873ea61f1b9..0a45eb03b8b 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,166 @@ Feel free to explore the scripts and use them for your learning and automation n 39. [space_invader.py.py](https://github.com/meezan-mallick/space_invader_game) - Classical 2D space invader game to recall your childhood memories. 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. 41. [Extract Thumbnail From Video](https://github.com/geekcomputers/Python/tree/ExtractThumbnailFromVideo) - Extract Thumbnail from video files -42. [How to begin the journey of open source (first contribution)](https://www.youtube.com/watch?v=v2X51AVgl3o) - First Contribution of open source +42. [8_puzzle.py](https://github.com/geekcomputers/Python/blob/master/8_puzzle.py) - 8-puzzle sliding game solver using A* algorithm +43. [ARKA.py](https://github.com/geekcomputers/Python/blob/master/ARKA.py) - Interactive text-based adventure game with multiple scenarios +44. [BruteForce.py](https://github.com/geekcomputers/Python/blob/master/BruteForce.py) - Brute force password cracking demonstration tool +45. [CSV_file.py](https://github.com/geekcomputers/Python/blob/master/CSV_file.py) - CSV file manipulation and data processing utilities +46. [FizzBuzz.py](https://github.com/geekcomputers/Python/blob/master/FizzBuzz.py) - Classic FizzBuzz programming challenge implementation +47. [Hangman.py](https://github.com/geekcomputers/Python/blob/master/Hangman.py) - Interactive hangman word guessing game +48. [JsonParser.py](https://github.com/geekcomputers/Python/blob/master/JsonParser.py) - JSON file parsing and manipulation utilities +49. [List.py](https://github.com/geekcomputers/Python/blob/master/List.py) - List data structure operations and examples +50. [Multiply.py](https://github.com/geekcomputers/Python/blob/master/Multiply.py) - Mathematical multiplication operations and calculations +51. [Organise.py](https://github.com/geekcomputers/Python/blob/master/Organise.py) - File organization and directory management tool +52. [PONG_GAME.py](https://github.com/geekcomputers/Python/blob/master/PONG_GAME.py) - Classic Pong arcade game implementation +53. [Polyline.py](https://github.com/geekcomputers/Python/blob/master/Polyline.py) - Geometric polyline drawing and manipulation +54. [RandomDice.py](https://github.com/geekcomputers/Python/blob/master/RandomDice.py) - Random dice rolling simulation game +55. [SOUNDEX.py](https://github.com/geekcomputers/Python/blob/master/SOUNDEX.py) - SOUNDEX phonetic algorithm implementation +56. [Strings.py](https://github.com/geekcomputers/Python/blob/master/Strings.py) - String manipulation and processing utilities +57. [TTS.py](https://github.com/geekcomputers/Python/blob/master/TTS.py) - Text-to-speech conversion utility +58. [TicTacToe.py](https://github.com/geekcomputers/Python/blob/master/TicTacToe.py) - Interactive Tic-Tac-Toe game implementation +59. [Todo_GUi.py](https://github.com/geekcomputers/Python/blob/master/Todo_GUi.py) - GUI-based todo list management application +60. [WeatherGUI.py](https://github.com/geekcomputers/Python/blob/master/WeatherGUI.py) - Weather information display with graphical interface +61. [Web Socket.py](https://github.com/geekcomputers/Python/blob/master/Web%20Socket.py) - WebSocket communication implementation +62. [automail.py](https://github.com/geekcomputers/Python/blob/master/automail.py) - Automated email sending utility +63. [basic_cal.py](https://github.com/geekcomputers/Python/blob/master/basic_cal.py) - Basic calculator with arithmetic operations +64. [billing.py](https://github.com/geekcomputers/Python/blob/master/billing.py) - Billing and invoice generation system +65. [binod.py](https://github.com/geekcomputers/Python/blob/master/binod.py) - Text processing and manipulation utility +66. [birthdays.py](https://github.com/geekcomputers/Python/blob/master/birthdays.py) - Birthday reminder and management system +67. [bodymass.py](https://github.com/geekcomputers/Python/blob/master/bodymass.py) - Body Mass Index (BMI) calculator +68. [calc_area.py](https://github.com/geekcomputers/Python/blob/master/calc_area.py) - Geometric area calculation for various shapes +69. [calci.py](https://github.com/geekcomputers/Python/blob/master/calci.py) - Advanced calculator with scientific functions +70. [chaos.py](https://github.com/geekcomputers/Python/blob/master/chaos.py) - Chaos theory and fractal generation +71. [check_file.py](https://github.com/geekcomputers/Python/blob/master/check_file.py) - File existence and properties checking utility +72. [consonant.py](https://github.com/geekcomputers/Python/blob/master/consonant.py) - Consonant and vowel analysis in text +73. [dec_to_hex.py](https://github.com/geekcomputers/Python/blob/master/dec_to_hex.py) - Decimal to hexadecimal number conversion +74. [diamond.py](https://github.com/geekcomputers/Python/blob/master/diamond.py) - Diamond pattern generation and display +75. [dice.py](https://github.com/geekcomputers/Python/blob/master/dice.py) - Dice rolling simulation and statistics +76. [diction.py](https://github.com/geekcomputers/Python/blob/master/diction.py) - Dictionary and word lookup utilities +77. [encryptsys.py](https://github.com/geekcomputers/Python/blob/master/encryptsys.py) - Text encryption and decryption system +78. [equations.py](https://github.com/geekcomputers/Python/blob/master/equations.py) - Mathematical equation solver +79. [ex20.py](https://github.com/geekcomputers/Python/blob/master/ex20.py) - Programming exercise and example code +80. [factors.py](https://github.com/geekcomputers/Python/blob/master/factors.py) - Prime factorization and number analysis +81. [fastapi.py](https://github.com/geekcomputers/Python/blob/master/fastapi.py) - FastAPI web framework demonstration +82. [fetch_news.py](https://github.com/geekcomputers/Python/blob/master/fetch_news.py) - News fetching and aggregation utility +83. [fibonacci.py](https://github.com/geekcomputers/Python/blob/master/fibonacci.py) - Fibonacci sequence generation and analysis +84. [find_prime.py](https://github.com/geekcomputers/Python/blob/master/find_prime.py) - Prime number detection and generation +85. [friday.py](https://github.com/geekcomputers/Python/blob/master/friday.py) - Virtual assistant with voice commands +86. [gambler.py](https://github.com/geekcomputers/Python/blob/master/gambler.py) - Gambling simulation and probability analysis +87. [gcd.py](https://github.com/geekcomputers/Python/blob/master/gcd.py) - Greatest Common Divisor calculation +88. [google.py](https://github.com/geekcomputers/Python/blob/master/google.py) - Google search automation utility +89. [googlemaps.py](https://github.com/geekcomputers/Python/blob/master/googlemaps.py) - Google Maps integration and location services +90. [googleweb.py](https://github.com/geekcomputers/Python/blob/master/googleweb.py) - Google web search and result processing +91. [greaterno.py](https://github.com/geekcomputers/Python/blob/master/greaterno.py) - Number comparison and analysis utility +92. [greattwono.py](https://github.com/geekcomputers/Python/blob/master/greattwono.py) - Two-number comparison operations +93. [happy_num.py](https://github.com/geekcomputers/Python/blob/master/happy_num.py) - Happy number detection and generation +94. [heap_sort.py](https://github.com/geekcomputers/Python/blob/master/heap_sort.py) - Heap sort algorithm implementation +95. [helloworld.py](https://github.com/geekcomputers/Python/blob/master/helloworld.py) - Basic "Hello World" program example +96. [index.py](https://github.com/geekcomputers/Python/blob/master/index.py) - Index and search functionality implementation +97. [iprint.py](https://github.com/geekcomputers/Python/blob/master/iprint.py) - Enhanced printing and output formatting +98. [is_number.py](https://github.com/geekcomputers/Python/blob/master/is_number.py) - Number validation and type checking +99. [jee_result.py](https://github.com/geekcomputers/Python/blob/master/jee_result.py) - JEE exam result processing and analysis +100. [largestno.py](https://github.com/geekcomputers/Python/blob/master/largestno.py) - Largest number finding algorithm +101. [lcm.py](https://github.com/geekcomputers/Python/blob/master/lcm.py) - Least Common Multiple calculation +102. [leap year.py](https://github.com/geekcomputers/Python/blob/master/leap%20year.py) - Leap year detection and calendar utilities +103. [length.py](https://github.com/geekcomputers/Python/blob/master/length.py) - Length and distance measurement utilities +104. [loader.py](https://github.com/geekcomputers/Python/blob/master/loader.py) - File loading and data import utilities +105. [login.py](https://github.com/geekcomputers/Python/blob/master/login.py) - User authentication and login system +106. [loops.py](https://github.com/geekcomputers/Python/blob/master/loops.py) - Loop structures and iteration examples +107. [magic8ball.py](https://github.com/geekcomputers/Python/blob/master/magic8ball.py) - Magic 8-ball fortune telling game +108. [mapit.py](https://github.com/geekcomputers/Python/blob/master/mapit.py) - Address mapping and location services +109. [meme_maker.py](https://github.com/geekcomputers/Python/blob/master/meme_maker.py) - Meme generation and image processing +110. [memorygame.py](https://github.com/geekcomputers/Python/blob/master/memorygame.py) - Memory matching game implementation +111. [merge.py](https://github.com/geekcomputers/Python/blob/master/merge.py) - Data merging and combination utilities +112. [new.py](https://github.com/geekcomputers/Python/blob/master/new.py) - Template for new Python projects +113. [new_script.py](https://github.com/geekcomputers/Python/blob/master/new_script.py) - Script generation and automation tool +114. [nmap_scan.py](https://github.com/geekcomputers/Python/blob/master/nmap_scan.py) - Network scanning and port analysis +115. [num-py.py](https://github.com/geekcomputers/Python/blob/master/num-py.py) - NumPy array operations and examples +116. [oneeven.py](https://github.com/geekcomputers/Python/blob/master/oneeven.py) - Even number detection and processing +117. [palindrome.py](https://github.com/geekcomputers/Python/blob/master/palindrome.py) - Palindrome detection and generation +118. [pan.py](https://github.com/geekcomputers/Python/blob/master/pan.py) - PAN card validation and processing +119. [ph_email.py](https://github.com/geekcomputers/Python/blob/master/ph_email.py) - Phone and email validation utilities +120. [polygon.py](https://github.com/geekcomputers/Python/blob/master/polygon.py) - Polygon geometry and calculation tools +121. [power_of_n.py](https://github.com/geekcomputers/Python/blob/master/power_of_n.py) - Power and exponentiation calculations +122. [pscheck.py](https://github.com/geekcomputers/Python/blob/master/pscheck.py) - Process monitoring and system checking +123. [psunotify.py](https://github.com/geekcomputers/Python/blob/master/psunotify.py) - System notification and alert utility +124. [pyauto.py](https://github.com/geekcomputers/Python/blob/master/pyauto.py) - Automation and scripting utilities +125. [pygame.py](https://github.com/geekcomputers/Python/blob/master/pygame.py) - Pygame game development examples +126. [python_sms.py](https://github.com/geekcomputers/Python/blob/master/python_sms.py) - SMS sending and messaging utilities +127. [qrcode.py](https://github.com/geekcomputers/Python/blob/master/qrcode.py) - QR code generation and processing +128. [qrdecoder.py](https://github.com/geekcomputers/Python/blob/master/qrdecoder.py) - QR code decoding and reading utility +129. [quiz_game.py](https://github.com/geekcomputers/Python/blob/master/quiz_game.py) - Interactive quiz game with scoring +130. [quote.py](https://github.com/geekcomputers/Python/blob/master/quote.py) - Inspirational quote generator and display +131. [rangoli.py](https://github.com/geekcomputers/Python/blob/master/rangoli.py) - Rangoli pattern generation and art +132. [recyclebin.py](https://github.com/geekcomputers/Python/blob/master/recyclebin.py) - Recycle bin management and file recovery +133. [repeat.py](https://github.com/geekcomputers/Python/blob/master/repeat.py) - Text and pattern repetition utilities +134. [rook.py](https://github.com/geekcomputers/Python/blob/master/rook.py) - Chess rook movement and game logic +135. [rotatelist.py](https://github.com/geekcomputers/Python/blob/master/rotatelist.py) - List rotation and manipulation operations +136. [scalg.py](https://github.com/geekcomputers/Python/blob/master/scalg.py) - Scientific algorithm implementations +137. [scrap_file.py](https://github.com/geekcomputers/Python/blob/master/scrap_file.py) - Web scraping and data extraction +138. [sendemail.py](https://github.com/geekcomputers/Python/blob/master/sendemail.py) - Email sending and SMTP utilities +139. [sha1.py](https://github.com/geekcomputers/Python/blob/master/sha1.py) - SHA1 hash generation and verification +140. [snake.py](https://github.com/geekcomputers/Python/blob/master/snake.py) - Classic Snake game implementation +141. [stack.py](https://github.com/geekcomputers/Python/blob/master/stack.py) - Stack data structure operations +142. [sudoku.py](https://github.com/geekcomputers/Python/blob/master/sudoku.py) - Sudoku puzzle solver and generator +143. [swap.py](https://github.com/geekcomputers/Python/blob/master/swap.py) - Variable swapping and exchange operations +144. [tik_tak.py](https://github.com/geekcomputers/Python/blob/master/tik_tak.py) - Alternative Tic-Tac-Toe game implementation +145. [time_delta.py](https://github.com/geekcomputers/Python/blob/master/time_delta.py) - Time difference calculation utilities +146. [triangles.py](https://github.com/geekcomputers/Python/blob/master/triangles.py) - Triangle geometry and calculation tools +147. [tuple.py](https://github.com/geekcomputers/Python/blob/master/tuple.py) - Tuple data structure operations and examples +148. [two_num.py](https://github.com/geekcomputers/Python/blob/master/two_num.py) - Two-number mathematical operations +149. [voice.py](https://github.com/geekcomputers/Python/blob/master/voice.py) - Voice recognition and speech processing +150. [webcam.py](https://github.com/geekcomputers/Python/blob/master/webcam.py) - Webcam capture and image processing +151. [wikipedia.py](https://github.com/geekcomputers/Python/blob/master/wikipedia.py) - Wikipedia search and content retrieval +152. [news_oversimplifier.py](https://github.com/geekcomputers/Python/blob/master/news_oversimplifier.py) - News article simplification and summarization +153. [wiki/wiki.py](https://github.com/geekcomputers/Python/blob/master/wiki/wiki.py) - Wikipedia content extraction and processing +154. [PDF/basic.py](https://github.com/geekcomputers/Python/blob/master/PDF/basic.py) - Basic PDF generation and manipulation +155. [How to begin the journey of open source (first contribution)](https://www.youtube.com/watch?v=v2X51AVgl3o) - 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** + ```bash + 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: +> +> ```bash +> pip install -r requirements.txt +> ``` +> +> For any missing packages, install them manually: +> +> ```bash +> pip install +> ``` + +## 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. diff --git a/README_CN.md b/README_CN.md new file mode 100644 index 00000000000..147b892e3b1 --- /dev/null +++ b/README_CN.md @@ -0,0 +1,221 @@ +# 这是一个新的仓库 +# 我的Python小程序 🐍 😄 + +
+ +我不认为自己是一个程序员。我创建这些小程序是为了用Python进行实验,或者为自己解决问题。我很乐意接受他人的建议来改进、简化或使代码更高效。如果您想发表任何意见,请随时发邮件给我:craig@geekcomputers.co.uk。 + +
+ +这个仓库包含了一系列Python脚本,旨在减少人工工作量,并作为初学者开始学习Python的教育示例。代码文档格式适合在[Notepad++](https://notepad-plus-plus.org/)中查看 :spiral_notepad: + +欢迎探索这些脚本并将它们用于您的学习和自动化需求! + +## 脚本列表: + +1. [batch_file_rename.py](https://github.com/geekcomputers/Python/blob/master/batch_file_rename.py) - 批量重命名指定目录中的一组文件,更改其扩展名。 +2. [create_dir_if_not_there.py](https://github.com/geekcomputers/Python/blob/master/create_dir_if_not_there.py) - 检查用户主目录中是否存在目录。如果不存在则创建它。 +3. [Fast Youtube Downloader](https://github.com/geekcomputers/Python/blob/master/youtubedownloader.py) - 使用aria2c并行线程快速下载YouTube视频。 +4. [Google Image Downloader](https://github.com/geekcomputers/Python/tree/master/Google_Image_Downloader) - 查询给定术语并从Google图像数据库检索图像。 +5. [dir_test.py](https://github.com/geekcomputers/Python/blob/master/dir_test.py) - 测试目录`testdir`是否存在。如果不存在,则创建它。 +6. [env_check.py](https://github.com/geekcomputers/Python/blob/master/env_check.py) - 检查是否设置了所有必需的环境变量。 +7. [blackjack.py](https://github.com/Ratna04priya/Python/blob/master/BlackJack_game/blackjack.py) - Python中的赌场21点游戏。 +8. [fileinfo.py](https://github.com/geekcomputers/Python/blob/master/fileinfo.py) - 显示给定文件的文件信息。 +9. [folder_size.py](https://github.com/geekcomputers/Python/blob/master/folder_size.py) - 扫描当前目录和所有子目录并显示其大小。 +10. [logs.py](https://github.com/geekcomputers/Python/blob/master/logs.py) - 在目录中搜索所有`*.log`文件,使用指定程序压缩它们,并添加日期戳。 +11. [move_files_over_x_days.py](https://github.com/geekcomputers/Python/blob/master/move_files_over_x_days.py) - 将超过指定天数的所有文件从源目录移动到目标目录。 +12. [nslookup_check.py](https://github.com/geekcomputers/Python/blob/master/nslookup_check.py) - 打开文件`server_list.txt`并对每个服务器执行nslookup以检查DNS条目。 +13. [osinfo.py](https://github.com/geekcomputers/Python/blob/master/osinfo.py) - 显示运行脚本的操作系统信息。 +14. [ping_servers.py](https://github.com/geekcomputers/Python/blob/master/ping_servers.py) - Ping与指定应用程序组关联的服务器。 +15. [ping_subnet.py](https://github.com/geekcomputers/Python/blob/master/ping_subnet.py) - 扫描给定IP子网的最终范围以查找可用地址。 +16. [powerdown_startup.py](https://github.com/geekcomputers/Python/blob/master/powerdown_startup.py) - Ping服务器列表中的机器。如果机器启动则加载putty会话,否则通知。 +17. [puttylogs.py](https://github.com/geekcomputers/Python/blob/master/puttylogs.py) - 压缩给定目录中的所有日志。 +18. [script_count.py](https://github.com/geekcomputers/Python/blob/master/script_count.py) - 扫描脚本目录并计算不同类型的脚本。 +19. [get_youtube_view.py](https://github.com/geekcomputers/Python/blob/master/get_youtube_view.py) - 为YouTube视频获得更多观看次数并在YouTube上重复播放歌曲。 +20. [script_listing.py](https://github.com/geekcomputers/Python/blob/master/script_listing.py) - 列出给定目录及其子目录中的所有文件。 +21. [testlines.py](https://github.com/geekcomputers/Python/blob/master/testlines.py) - 打开文件并打印出设置行变量的100行。 +22. [tweeter.py](https://github.com/geekcomputers/Python/blob/master/tweeter.py) - 从终端发推文或图片。 +23. [serial_scanner.py](https://github.com/geekcomputers/Python/blob/master/serial_scanner.py) - 列出Linux和Windows系统上正在使用的可用串行端口。 +24. [get_youtube_view.py](https://github.com/geekcomputers/Python/blob/master/get_youtube_view.py) - 为YouTube视频获得更多观看次数并在YouTube上重复播放歌曲。 +25. [CountMillionCharacter.py](https://github.com/geekcomputers/Python/blob/master/CountMillionCharacter.py) 和 [CountMillionCharacter2.0](https://github.com/geekcomputers/Python/blob/master/CountMillionCharacters-2.0.py) - 获取文本文件的字符计数。 +26. [xkcd_downloader.py](https://github.com/geekcomputers/Python/blob/master/xkcd_downloader.py) - 下载最新的XKCD漫画并将其放在名为"comics"的新文件夹中。 +27. [timymodule.py](https://github.com/geekcomputers/Python/blob/master/timymodule.py) - Python的'timeit'模块的替代品,更易于使用。 +28. [calculator.py](https://github.com/geekcomputers/Python/blob/master/calculator.py) - 使用Python的eval()函数实现计算器。 +29. [Google_News.py](https://github.com/geekcomputers/Python/blob/master/Google_News.py) - 使用BeautifulSoup提供最新新闻标题和新闻链接。 +30. [cricket_live_score](https://github.com/geekcomputers/Python/blob/master/Cricket_score.py) - 使用BeautifulSoup提供实时板球比分。 +31. [youtube.py](https://github.com/geekcomputers/Python/blob/master/youtube.py) - 以歌曲名称作为输入,获取最佳匹配歌曲的YouTube URL并播放。 +32. [site_health.py](https://github.com/geekcomputers/Python/blob/master/site_health.py) - 检查远程服务器的健康状况。 +33. [SimpleStopWatch.py](https://github.com/geekcomputers/Python/blob/master/SimpleStopWatch.py) - 使用Python的time模块实现简单的秒表。 +34. [Changemac.py](https://github.com/geekcomputers/Python/blob/master/changemac.py) - 在Linux上更改您的MAC地址,生成随机MAC地址,或输入新的MAC地址(在Ubuntu 18.04中成功测试)。 +35. [whatsapp-monitor.py](https://github.com/geekcomputers/Python/blob/master/whatsapp-monitor.py) - 使用Selenium在终端上提供WhatsApp联系人的在线状态更新。 +36. [whatsapp-chat-analyzer.py](https://github.com/subahanii/whatsapp-Chat-Analyzer) - WhatsApp群组/个人聊天分析器,使用matplotlib可视化聊天活动。 +37. [JARVIS.py](https://git.io/fjH8m) - 用语音控制Windows程序。 +38. [Images Downloader](https://git.io/JvnJh) - 在基于Unix的系统上从网页下载图像。 +39. [space_invader.py.py](https://github.com/meezan-mallick/space_invader_game) - 经典的2D太空入侵者游戏,回忆您的童年记忆。 +40. [Test Case Generator](https://github.com/Tanmay-901/test-case-generator/blob/master/test_case.py) - 生成具有清洁友好UI的不同类型测试用例,用于竞技编程和软件测试。 +41. [Extract Thumbnail From Video](https://github.com/geekcomputers/Python/tree/ExtractThumbnailFromVideo) - 从视频文件中提取缩略图 +42. [8_puzzle.py](https://github.com/geekcomputers/Python/blob/master/8_puzzle.py) - 使用A*算法的8拼图滑动游戏求解器 +43. [ARKA.py](https://github.com/geekcomputers/Python/blob/master/ARKA.py) - 具有多种场景的交互式文本冒险游戏 +44. [BruteForce.py](https://github.com/geekcomputers/Python/blob/master/BruteForce.py) - 暴力破解密码演示工具 +45. [CSV_file.py](https://github.com/geekcomputers/Python/blob/master/CSV_file.py) - CSV文件操作和数据处理工具 +46. [FizzBuzz.py](https://github.com/geekcomputers/Python/blob/master/FizzBuzz.py) - 经典FizzBuzz编程挑战实现 +47. [Hangman.py](https://github.com/geekcomputers/Python/blob/master/Hangman.py) - 交互式猜词游戏 +48. [JsonParser.py](https://github.com/geekcomputers/Python/blob/master/JsonParser.py) - JSON文件解析和操作工具 +49. [List.py](https://github.com/geekcomputers/Python/blob/master/List.py) - 列表数据结构操作和示例 +50. [Multiply.py](https://github.com/geekcomputers/Python/blob/master/Multiply.py) - 数学乘法运算和计算 +51. [Organise.py](https://github.com/geekcomputers/Python/blob/master/Organise.py) - 文件组织和目录管理工具 +52. [PONG_GAME.py](https://github.com/geekcomputers/Python/blob/master/PONG_GAME.py) - 经典Pong街机游戏实现 +53. [Polyline.py](https://github.com/geekcomputers/Python/blob/master/Polyline.py) - 几何折线绘制和操作 +54. [RandomDice.py](https://github.com/geekcomputers/Python/blob/master/RandomDice.py) - 随机骰子滚动模拟游戏 +55. [SOUNDEX.py](https://github.com/geekcomputers/Python/blob/master/SOUNDEX.py) - SOUNDEX语音算法实现 +56. [Strings.py](https://github.com/geekcomputers/Python/blob/master/Strings.py) - 字符串操作和处理工具 +57. [TTS.py](https://github.com/geekcomputers/Python/blob/master/TTS.py) - 文本转语音转换工具 +58. [TicTacToe.py](https://github.com/geekcomputers/Python/blob/master/TicTacToe.py) - 交互式井字游戏实现 +59. [Todo_GUi.py](https://github.com/geekcomputers/Python/blob/master/Todo_GUi.py) - 基于GUI的待办事项管理应用 +60. [WeatherGUI.py](https://github.com/geekcomputers/Python/blob/master/WeatherGUI.py) - 带图形界面的天气信息显示 +61. [Web Socket.py](https://github.com/geekcomputers/Python/blob/master/Web%20Socket.py) - WebSocket通信实现 +62. [automail.py](https://github.com/geekcomputers/Python/blob/master/automail.py) - 自动邮件发送工具 +63. [basic_cal.py](https://github.com/geekcomputers/Python/blob/master/basic_cal.py) - 基本算术运算计算器 +64. [billing.py](https://github.com/geekcomputers/Python/blob/master/billing.py) - 账单和发票生成系统 +65. [binod.py](https://github.com/geekcomputers/Python/blob/master/binod.py) - 文本处理和操作工具 +66. [birthdays.py](https://github.com/geekcomputers/Python/blob/master/birthdays.py) - 生日提醒和管理系统 +67. [bodymass.py](https://github.com/geekcomputers/Python/blob/master/bodymass.py) - 身体质量指数(BMI)计算器 +68. [calc_area.py](https://github.com/geekcomputers/Python/blob/master/calc_area.py) - 各种形状的几何面积计算 +69. [calci.py](https://github.com/geekcomputers/Python/blob/master/calci.py) - 带科学函数的高级计算器 +70. [chaos.py](https://github.com/geekcomputers/Python/blob/master/chaos.py) - 混沌理论和分形生成 +71. [check_file.py](https://github.com/geekcomputers/Python/blob/master/check_file.py) - 文件存在性和属性检查工具 +72. [consonant.py](https://github.com/geekcomputers/Python/blob/master/consonant.py) - 文本中的辅音和元音分析 +73. [dec_to_hex.py](https://github.com/geekcomputers/Python/blob/master/dec_to_hex.py) - 十进制到十六进制数字转换 +74. [diamond.py](https://github.com/geekcomputers/Python/blob/master/diamond.py) - 钻石图案生成和显示 +75. [dice.py](https://github.com/geekcomputers/Python/blob/master/dice.py) - 骰子滚动模拟和统计 +76. [diction.py](https://github.com/geekcomputers/Python/blob/master/diction.py) - 字典和单词查找工具 +77. [encryptsys.py](https://github.com/geekcomputers/Python/blob/master/encryptsys.py) - 文本加密和解密系统 +78. [equations.py](https://github.com/geekcomputers/Python/blob/master/equations.py) - 数学方程求解器 +79. [ex20.py](https://github.com/geekcomputers/Python/blob/master/ex20.py) - 编程练习和示例代码 +80. [factors.py](https://github.com/geekcomputers/Python/blob/master/factors.py) - 质因数分解和数字分析 +81. [fastapi.py](https://github.com/geekcomputers/Python/blob/master/fastapi.py) - FastAPI网络框架演示 +82. [fetch_news.py](https://github.com/geekcomputers/Python/blob/master/fetch_news.py) - 新闻获取和聚合工具 +83. [fibonacci.py](https://github.com/geekcomputers/Python/blob/master/fibonacci.py) - 斐波那契数列生成和分析 +84. [find_prime.py](https://github.com/geekcomputers/Python/blob/master/find_prime.py) - 质数检测和生成 +85. [friday.py](https://github.com/geekcomputers/Python/blob/master/friday.py) - 带语音命令的虚拟助手 +86. [gambler.py](https://github.com/geekcomputers/Python/blob/master/gambler.py) - 赌博模拟和概率分析 +87. [gcd.py](https://github.com/geekcomputers/Python/blob/master/gcd.py) - 最大公约数计算 +88. [google.py](https://github.com/geekcomputers/Python/blob/master/google.py) - Google搜索自动化工具 +89. [googlemaps.py](https://github.com/geekcomputers/Python/blob/master/googlemaps.py) - Google地图集成和位置服务 +90. [googleweb.py](https://github.com/geekcomputers/Python/blob/master/googleweb.py) - Google网络搜索和结果处理 +91. [greaterno.py](https://github.com/geekcomputers/Python/blob/master/greaterno.py) - 数字比较和分析工具 +92. [greattwono.py](https://github.com/geekcomputers/Python/blob/master/greattwono.py) - 两数比较操作 +93. [happy_num.py](https://github.com/geekcomputers/Python/blob/master/happy_num.py) - 快乐数检测和生成 +94. [heap_sort.py](https://github.com/geekcomputers/Python/blob/master/heap_sort.py) - 堆排序算法实现 +95. [helloworld.py](https://github.com/geekcomputers/Python/blob/master/helloworld.py) - 基本"Hello World"程序示例 +96. [index.py](https://github.com/geekcomputers/Python/blob/master/index.py) - 索引和搜索功能实现 +97. [iprint.py](https://github.com/geekcomputers/Python/blob/master/iprint.py) - 增强的打印和输出格式化 +98. [is_number.py](https://github.com/geekcomputers/Python/blob/master/is_number.py) - 数字验证和类型检查 +99. [jee_result.py](https://github.com/geekcomputers/Python/blob/master/jee_result.py) - JEE考试结果处理和分析 +100. [largestno.py](https://github.com/geekcomputers/Python/blob/master/largestno.py) - 最大数查找算法 +101. [lcm.py](https://github.com/geekcomputers/Python/blob/master/lcm.py) - 最小公倍数计算 +102. [leap year.py](https://github.com/geekcomputers/Python/blob/master/leap%20year.py) - 闰年检测和日历工具 +103. [length.py](https://github.com/geekcomputers/Python/blob/master/length.py) - 长度和距离测量工具 +104. [loader.py](https://github.com/geekcomputers/Python/blob/master/loader.py) - 文件加载和数据导入工具 +105. [login.py](https://github.com/geekcomputers/Python/blob/master/login.py) - 用户认证和登录系统 +106. [loops.py](https://github.com/geekcomputers/Python/blob/master/loops.py) - 循环结构和迭代示例 +107. [magic8ball.py](https://github.com/geekcomputers/Python/blob/master/magic8ball.py) - 魔法8球占卜游戏 +108. [mapit.py](https://github.com/geekcomputers/Python/blob/master/mapit.py) - 地址映射和位置服务 +109. [meme_maker.py](https://github.com/geekcomputers/Python/blob/master/meme_maker.py) - 表情包生成和图像处理 +110. [memorygame.py](https://github.com/geekcomputers/Python/blob/master/memorygame.py) - 记忆匹配游戏实现 +111. [merge.py](https://github.com/geekcomputers/Python/blob/master/merge.py) - 数据合并和组合工具 +112. [new.py](https://github.com/geekcomputers/Python/blob/master/new.py) - 新Python项目模板 +113. [new_script.py](https://github.com/geekcomputers/Python/blob/master/new_script.py) - 脚本生成和自动化工具 +114. [nmap_scan.py](https://github.com/geekcomputers/Python/blob/master/nmap_scan.py) - 网络扫描和端口分析 +115. [num-py.py](https://github.com/geekcomputers/Python/blob/master/num-py.py) - NumPy数组操作和示例 +116. [oneeven.py](https://github.com/geekcomputers/Python/blob/master/oneeven.py) - 偶数检测和处理 +117. [palindrome.py](https://github.com/geekcomputers/Python/blob/master/palindrome.py) - 回文检测和生成 +118. [pan.py](https://github.com/geekcomputers/Python/blob/master/pan.py) - PAN卡验证和处理 +119. [ph_email.py](https://github.com/geekcomputers/Python/blob/master/ph_email.py) - 电话和邮箱验证工具 +120. [polygon.py](https://github.com/geekcomputers/Python/blob/master/polygon.py) - 多边形几何和计算工具 +121. [power_of_n.py](https://github.com/geekcomputers/Python/blob/master/power_of_n.py) - 幂和指数计算 +122. [pscheck.py](https://github.com/geekcomputers/Python/blob/master/pscheck.py) - 进程监控和系统检查 +123. [psunotify.py](https://github.com/geekcomputers/Python/blob/master/psunotify.py) - 系统通知和警报工具 +124. [pyauto.py](https://github.com/geekcomputers/Python/blob/master/pyauto.py) - 自动化和脚本工具 +125. [pygame.py](https://github.com/geekcomputers/Python/blob/master/pygame.py) - Pygame游戏开发示例 +126. [python_sms.py](https://github.com/geekcomputers/Python/blob/master/python_sms.py) - 短信发送和消息工具 +127. [qrcode.py](https://github.com/geekcomputers/Python/blob/master/qrcode.py) - 二维码生成和处理 +128. [qrdecoder.py](https://github.com/geekcomputers/Python/blob/master/qrdecoder.py) - 二维码解码和读取工具 +129. [quiz_game.py](https://github.com/geekcomputers/Python/blob/master/quiz_game.py) - 带计分的交互式问答游戏 +130. [quote.py](https://github.com/geekcomputers/Python/blob/master/quote.py) - 励志名言生成器和显示 +131. [rangoli.py](https://github.com/geekcomputers/Python/blob/master/rangoli.py) - 兰戈利图案生成和艺术 +132. [recyclebin.py](https://github.com/geekcomputers/Python/blob/master/recyclebin.py) - 回收站管理和文件恢复 +133. [repeat.py](https://github.com/geekcomputers/Python/blob/master/repeat.py) - 文本和图案重复工具 +134. [rook.py](https://github.com/geekcomputers/Python/blob/master/rook.py) - 国际象棋车的移动和游戏逻辑 +135. [rotatelist.py](https://github.com/geekcomputers/Python/blob/master/rotatelist.py) - 列表旋转和操作运算 +136. [scalg.py](https://github.com/geekcomputers/Python/blob/master/scalg.py) - 科学算法实现 +137. [scrap_file.py](https://github.com/geekcomputers/Python/blob/master/scrap_file.py) - 网络爬虫和数据提取 +138. [sendemail.py](https://github.com/geekcomputers/Python/blob/master/sendemail.py) - 邮件发送和SMTP工具 +139. [sha1.py](https://github.com/geekcomputers/Python/blob/master/sha1.py) - SHA1哈希生成和验证 +140. [snake.py](https://github.com/geekcomputers/Python/blob/master/snake.py) - 经典贪吃蛇游戏实现 +141. [stack.py](https://github.com/geekcomputers/Python/blob/master/stack.py) - 栈数据结构操作 +142. [sudoku.py](https://github.com/geekcomputers/Python/blob/master/sudoku.py) - 数独谜题求解器和生成器 +143. [swap.py](https://github.com/geekcomputers/Python/blob/master/swap.py) - 变量交换和交换操作 +144. [tik_tak.py](https://github.com/geekcomputers/Python/blob/master/tik_tak.py) - 替代井字游戏实现 +145. [time_delta.py](https://github.com/geekcomputers/Python/blob/master/time_delta.py) - 时间差计算工具 +146. [triangles.py](https://github.com/geekcomputers/Python/blob/master/triangles.py) - 三角形几何和计算工具 +147. [tuple.py](https://github.com/geekcomputers/Python/blob/master/tuple.py) - 元组数据结构操作和示例 +148. [two_num.py](https://github.com/geekcomputers/Python/blob/master/two_num.py) - 两数数学运算 +149. [voice.py](https://github.com/geekcomputers/Python/blob/master/voice.py) - 语音识别和语音处理 +150. [webcam.py](https://github.com/geekcomputers/Python/blob/master/webcam.py) - 网络摄像头捕获和图像处理 +151. [wikipedia.py](https://github.com/geekcomputers/Python/blob/master/wikipedia.py) - 维基百科搜索和内容检索 +152. [news_oversimplifier.py](https://github.com/geekcomputers/Python/blob/master/news_oversimplifier.py) - 使用AI的新闻文章摘要(需要命令行参数) +153. [wiki/wiki.py](https://github.com/geekcomputers/Python/blob/master/wiki/wiki.py) - 带图像显示的增强维基百科搜索 +154. [PDF/basic.py](https://github.com/geekcomputers/Python/blob/master/PDF/basic.py) - 基本PDF生成和操作 +155. [How to begin the journey of open source (first contribution)](https://www.youtube.com/watch?v=v2X51AVgl3o) - 开源的第一次贡献 + +
+ +_**注意**: 此仓库中的内容属于各自的作者和创建者。我只是提供格式化的README.md以便更好地展示。_ + +## 如何运行? +1. **克隆仓库** + ```bash + git clone https://github.com/geekcomputers/Python.git + cd Python + ``` +2. **选择要运行的脚本** +此仓库中的每个脚本都是独立的,可以直接执行。 + +## 依赖项 +此仓库中的大多数脚本仅依赖于Python标准库,因此通常可以在不安装额外包的情况下运行。 + +> **⚠️ 重要** +> +> 某些脚本可能需要额外的Python库。 +> 仓库提供了一个依赖文件(例如,`requirements.txt`)作为参考,但它可能没有列出所有必需的包。 +> 检查每个脚本的头部或注释以了解可能需要手动安装的任何额外依赖项。 +> +> 要安装列出的依赖项,请运行: +> +> ```bash +> pip install -r requirements.txt +> ``` +> +> 对于任何缺失的包,请手动安装: +> +> ```bash +> pip install +> ``` + +## Python版本支持 + +> **注意** +> +> Python版本支持: +> 大多数脚本目前在Python 3.6及以上版本运行。 +> 在未来的版本中,支持的最低Python版本将逐步更新到3.9或更高版本。 + +## 许可证 + +此项目采用MIT许可证。 + +您可以自由使用、复制、修改、合并、发布、分发、再许可和/或销售项目的副本,但须遵守以下条件: + +- 上述版权声明和此许可声明应包含在软件的所有副本或重要部分中。 +- 软件按"原样"提供,不提供任何形式的明示或暗示保证,包括但不限于适销性、特定用途适用性和非侵权性的保证。