The Wayback Machine - https://web.archive.org/web/20200608155728/https://github.com/geekcomputers/Python
Skip to content
My Python Examples
Python Tcl Other
Branch: master
Clone or download

Latest commit

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows GitHub Action: Make pytests mandatory Mar 22, 2020
Assembler Update README.txt Feb 5, 2020
BlackJack_game modified blackjack.py Feb 14, 2020
CRC Reformat Code by PyCharm-Community Oct 10, 2019
Colors Use print() function in both Python 2 and Python 3 Mar 21, 2020
Compression_Analysis [ImgBot] Optimize images Jan 17, 2020
CountMillionCharacters-Variations Reformat Code by PyCharm-Community Oct 10, 2019
Flappy Bird - created with tkinter [ImgBot] Optimize images Jan 17, 2020
Google_Image_Downloader Use eval() replace globals() & fix spell mistake Mar 16, 2020
ImageDownloader 07-02-2020 - Image Downloader Developed by Muhammed Shokr [mohammedsh… Feb 7, 2020
JARVIS let the jarvis speak Apr 12, 2020
Koch Curve Previous code gave error= "speed" is not defined Dec 15, 2019
PDF [ImgBot] Optimize images Jan 17, 2020
UI-Apps created a simple clock widget using Tkinter Oct 13, 2019
Weather Scrapper Delete test May 29, 2020
Windows_Wallpaper_Script [ImgBot] Optimize images Jan 17, 2020
XORcipher Test XOR_cypher: from unittest import mock Mar 22, 2020
async_downloader Reformat Code by PyCharm-Community Oct 10, 2019
bank_managment_system Reformat Code by PyCharm-Community Oct 10, 2019
brickout-game GUI Oct 17, 2019
communication Reformat Code by PyCharm-Community Oct 10, 2019
flappyBird_pygame Merge pull request #685 from Shokr/master Feb 11, 2020
floodfill Add a floodfill algorithm with pygame visualisation Oct 13, 2019
game_of_life Don't rely on the default matplotlib backend since we need an interac… Oct 12, 2019
insta_image_saving Update readme.txt Jul 27, 2019
insta_monitering Reformat Code by PyCharm-Community Oct 10, 2019
linear-algebra-python Reformat Code by PyCharm-Community Oct 10, 2019
nodepad Merge pull request #721 from Prince326/patch-7 Apr 25, 2020
notepad Rename nodepad/notepad_support.py to notepad/notepad_support.py Apr 24, 2020
other_pepole Reformat Code by PyCharm-Community Oct 10, 2019
primelib Updated sieve of erathostenes function Dec 19, 2019
rearrange-files Removed Redundant Code Oct 20, 2019
socket-programming Reformat Code by PyCharm-Community Oct 10, 2019
thired-party-haarcascade-mustache-on-face [ImgBot] Optimize images Jan 17, 2020
video-operations Reformat Code by PyCharm-Community Oct 10, 2019
.Python Fixes #668 - Correctly registering event handlers Mar 25, 2020
.gitignore Fetch News Script Added Nov 11, 2019
Binary Coefficients.py Reformat Code by PyCharm-Community Oct 10, 2019
Binary_search.py Update Binary_search.py Oct 24, 2019
BruteForce.py Update BruteForce.py Oct 20, 2019
Classification_human_or_horse.py Rename Classification_human_orr_horse.py to Classification_human_or_h… Apr 28, 2020
CountMillionCharacter.py updated comments Oct 20, 2019
CountMillionCharacters-2.0.py Reformat Code by PyCharm-Community Oct 10, 2019
Counting-sort.py Simplified code improved input on Counting-Sort.py Oct 25, 2019
Credit_Card_Validator.py Update Credit_Card_Validator.py Nov 18, 2018
Cricket_score.py Reformat Code by PyCharm-Community Oct 10, 2019
Day_of_week.py added comments Oct 20, 2019
Decimal_To_Binary.py Merge pull request #650 from portkey2112/new_branch Nov 9, 2019
Divide Operator Added Comments Oct 26, 2019
EncryptionTool.py Reformat Code by PyCharm-Community Oct 10, 2019
FTP in python Create FTP in python Aug 3, 2017
Google_News.py Update Google_News.py Apr 16, 2020
GroupSms_Way2.py Reformat Code by PyCharm-Community Oct 10, 2019
Guess_the_number_game.py Fixes #668 - Correctly registering event handlers Mar 25, 2020
Guessing_Game.py Reformat Code by PyCharm-Community Oct 10, 2019
Hangman.py Hangman game Oct 31, 2019
Infix_to_Postfix.py Reformat Code by PyCharm-Community Oct 10, 2019
LICENSE.md Create LICENSE.md Feb 26, 2018
Memory_game.py Reformat Code by PyCharm-Community Oct 10, 2019
Merge-sort.py Update Merge-sort.py Oct 20, 2019
Merge_linked_list.py Rename Merge_Link.py to Merge_linked_list.py Apr 28, 2020
MobiusFunction.py Reformat Code by PyCharm-Community Oct 10, 2019
Monitor Apache Create Monitor Apache Aug 3, 2017
MySQL_Databses.py Reformat Code by PyCharm-Community Oct 10, 2019
Organise.py Reformat Code by PyCharm-Community Oct 10, 2019
PONG_GAME.py Reformat Code by PyCharm-Community Oct 10, 2019
PORT SCANNER.PY Reformat Code by PyCharm-Community Oct 10, 2019
Palindrome_Checker.py Merge pull request #633 from ishitagupta8720/master Oct 20, 2019
Polyline.py Reformat Code by PyCharm-Community Oct 10, 2019
Print_List_of_Even_Numbers.py Printing list of even numbers using the list methods May 19, 2020
Print_List_of_Odd_Numbers.py Update Print_List_of_Odd_Numbers.py Apr 28, 2020
Program to print table of given number.py Reformat Code by PyCharm-Community Oct 10, 2019
QuadraticCalc.py Removed unsused variable and did minor PEP8 touch ups Oct 24, 2019
Quick_Sort.py Removed quick_sort.py beeing duplicate of QuickSort.py Oct 19, 2019
README.md 07-02-2020 - Image Downloader Developed by Muhammed Shokr [mohammedsh… Feb 7, 2020
RandomDice.py Reformat Code by PyCharm-Community Oct 10, 2019
ReadFromCSV.py Update ReadFromCSV.py Apr 3, 2020
Shivaansh.py Reformat Code by PyCharm-Community Oct 10, 2019
SimpleCalculator.py Add literal + - * / character to input Oct 19, 2019
SimpleStopWatch.py Update SimpleStopWatch.py Oct 20, 2019
Streaming Tweets from Twitter to Database.py Reformat Code by PyCharm-Community Oct 10, 2019
TTS.py Check if TTS.py is running on Windows Oct 19, 2019
TicTacToe.py Reformat Code by PyCharm-Community Oct 10, 2019
WikipediaModule.py Reformat Code by PyCharm-Community Oct 10, 2019
about.txt About the program Jul 17, 2019
alexa_news_headlines.py Reformat Code by PyCharm-Community Oct 10, 2019
backup_automater_services.py Add files via upload Oct 11, 2018
balance_parenthesis.py Balance parenthesis code using stack Oct 12, 2019
batch_file_rename.py Unpack tuple elements Mar 15, 2020
binarySTree isTrue_YashV1729.Java Rename BST isTrue_YashV1729.Java to binarySTree isTrue_YashV1729.Java Oct 11, 2019
binary_search_tree.py Added Binary Search Tree Implementation Oct 26, 2019
blackJackGUI.py Use print() function in both Python 2 and Python 3 Mar 21, 2020
blackjack.py Reformat Code by PyCharm-Community Oct 10, 2019
bubble sort.py Bubble sort algorith program Oct 10, 2019
calculator.py imported math library to make trig functions work and add absolute va… Oct 19, 2019
changemac.py Reformat Code by PyCharm-Community Oct 10, 2019
chaos.py Add files via upload Oct 11, 2018
check_file.py Reformat Code by PyCharm-Community Oct 10, 2019
check_for_sqlite_files.py Reformat Code by PyCharm-Community Oct 10, 2019
check_input.py Add files via upload Oct 11, 2018
check_internet_con.py Add custom url support Oct 19, 2019
chicks_n_rabs.py Add files via upload Oct 11, 2018
classicIndianCardMatch.py Reformat Code by PyCharm-Community Oct 10, 2019
convert_time.py Use print() function in both Python 2 and Python 3 Mar 21, 2020
create_dir_if_not_there.py Add files via upload Oct 11, 2018
cricket_live_score.py Reformat Code by PyCharm-Community Oct 10, 2019
daily_checks.py Reformat Code by PyCharm-Community Oct 10, 2019
days_from_date.py Reformat Code by PyCharm-Community Oct 10, 2019
dec_to_hex.py Format code by PEP8 Sep 12, 2018
diamond.py Add program that draws a diamond Mar 17, 2020
dice.py Add files via upload Oct 11, 2018
diceV2_dynamic.py Improvvements on the "user interface" which allow the user to reroll … Oct 29, 2019
dice_rolling_simulator.py raw_input() was removed in Python 3 Jan 8, 2019
dir_test.py Reformat Code by PyCharm-Community Oct 10, 2019
disregard Create disregard Mar 19, 2019
env_check.py Use print() function in both Python 2 and Python 3 Nov 28, 2018
ex20.py With Python3 refactoring code Jan 29, 2020
factor.py Reformat Code by PyCharm-Community Oct 10, 2019
factorial.py Updated factorial.py Oct 19, 2019
factorial_perm_comp.py Add files via upload Oct 11, 2018
factors.py Reformat Code by PyCharm-Community Oct 10, 2019
fetch_news.py Use print() function in both Python 2 and Python 3 Mar 21, 2020
fibonacci.py Reformat Code by PyCharm-Community Oct 10, 2019
fileinfo.py fix the syntax problem Mar 23, 2020
find_cube_root.py Made the code run keep running until user doesn't want to continue. Oct 23, 2019
find_prime.py Reformat Code by PyCharm-Community Oct 10, 2019
folder_size.py Reformat Code by PyCharm-Community Oct 10, 2019
four_digit_num_combination.py Reformat Code by PyCharm-Community Oct 10, 2019
ftp_send_receive.py Reformat Code by PyCharm-Community Oct 10, 2019
gambler.py Reformat Code by PyCharm-Community Oct 10, 2019
gcd.py code for gcd Oct 17, 2019
get_crypto_price.py Reformat Code by PyCharm-Community Oct 10, 2019
get_info_remoute_srv.py PEP8 changes. Nov 15, 2016
get_likes_on_FB.py Reformat Code by PyCharm-Community Oct 10, 2019
get_youtube_view.py Reformat Code by PyCharm-Community Oct 10, 2019
google.py Reformat Code by PyCharm-Community Oct 10, 2019
happy_num update happy_num Oct 21, 2019
helloworld.py update helloworld.py Nov 25, 2019
importerror.txt Create importerror.txt Oct 28, 2019
inheritance_YahV1729.python Create inheritance_YahV1729.python Oct 12, 2019
internet_connection_py3.py Reformat Code by PyCharm-Community Oct 10, 2019
jee_result.py Reformat Code by PyCharm-Community Oct 10, 2019
kmp_str_search.py Reformat Code by PyCharm-Community Oct 10, 2019
lanzhiwang_index.md 增加索引文件 Sep 9, 2018
linear_search.py Create linear_search.py Oct 1, 2019
live_sketch.py Reformat Code by PyCharm-Community Oct 10, 2019
logs.py Reformat Code by PyCharm-Community Oct 10, 2019
longest_increasing_subsequence_length.py Create longest_increasing_subsequence_length.py Oct 17, 2019
magic8ball.py Reformat Code by PyCharm-Community Oct 10, 2019
meme_maker.py Reformat Code by PyCharm-Community Oct 10, 2019
merge.py Reformat Code by PyCharm-Community Oct 10, 2019
move_files_over_x_days.py Reformat Code by PyCharm-Community Oct 10, 2019
movie_details.py Reformat Code by PyCharm-Community Oct 10, 2019
multiplication_table.py Reformat Code by PyCharm-Community Oct 10, 2019
nDigitNumberCombinations.py Reformat Code by PyCharm-Community Oct 10, 2019
new.py new for different sites Jan 22, 2020
new_script.py Reformat Code by PyCharm-Community Oct 10, 2019
news_intent_schema.json Reformat Code by PyCharm-Community Oct 10, 2019
next_number.py 'Next_Number' Oct 16, 2019
nmap_scan.py Reformat Code by PyCharm-Community Oct 10, 2019
nslookup_check.py Update nslookup_check.py Oct 27, 2019
osinfo.py Reformat Code by PyCharm-Community Oct 10, 2019
pan.py Reformat Code by PyCharm-Community Oct 10, 2019
passwordGen.py Reformat Code by PyCharm-Community Oct 10, 2019
passwordGenerator.py Resolved index out of range error Apr 3, 2020
password_cracker.py Reformat Code by PyCharm-Community Oct 10, 2019
password_manager.py password manager May 24, 2020
perfect_square.py Simple And Efficient Program To Find Given Number Is A Perfect Square… Oct 16, 2019
ph_email.py Reformat Code by PyCharm-Community Oct 10, 2019
ping_servers.py Reformat Code by PyCharm-Community Oct 10, 2019
ping_subnet.py Reformat Code by PyCharm-Community Oct 10, 2019
polygon.py Reformat Code by PyCharm-Community Oct 10, 2019
portscanner.py Reformat Code by PyCharm-Community Oct 10, 2019
powerdown_startup.py Reformat Code by PyCharm-Community Oct 10, 2019
powerup_checks.py Reformat Code by PyCharm-Community Oct 10, 2019
prison_break_scrapper.py Reformat Code by PyCharm-Community Oct 10, 2019
pscheck.py Reformat Code by PyCharm-Community Oct 10, 2019
psunotify.py Use print() function in both Python 2 and Python 3 Mar 21, 2020
puttylogs.py Reformat Code by PyCharm-Community Oct 10, 2019
pyhton_array.py Create pyhton_array.py Oct 29, 2019
pythonVideoDownloader.py Reformat Code by PyCharm-Community Oct 10, 2019
python_sms.py Reformat Code by PyCharm-Community Oct 10, 2019
random-sentences.py Reformat Code by PyCharm-Community Oct 10, 2019
randomloadingmessage.py Reformat Code by PyCharm-Community Oct 10, 2019
read_excel_file.py Reformat Code by PyCharm-Community Oct 10, 2019
recursive-fibonacci.py add recursive fibonacci Oct 31, 2019
recursive-quick-sort.py add recursive quick sort Oct 31, 2019
recyclebin.py Reformat Code by PyCharm-Community Oct 10, 2019
replacetext.py Reformat Code by PyCharm-Community Oct 10, 2019
rock_paper_scissor_game.py Reformat Code by PyCharm-Community Oct 10, 2019
rook.py Reformat Code by PyCharm-Community Oct 10, 2019
rotate_string.py rotate a string Oct 12, 2019
sample.xlsx Read-Write Excel files with python Aug 24, 2018
scrap_file.py Reformat Code by PyCharm-Community Oct 10, 2019
script_count.py Reformat Code by PyCharm-Community Oct 10, 2019
script_listing.py Reformat Code by PyCharm-Community Oct 10, 2019
sendemail.py Use print() function in both Python 2 and Python 3 Mar 21, 2020
serial_scanner.py Reformat Code by PyCharm-Community Oct 10, 2019
sha1.py Reformat Code by PyCharm-Community Oct 10, 2019
sierpinski_triangle.py Reformat Code by PyCharm-Community Oct 10, 2019
singly_linked_list Singly linked list with all operations Oct 12, 2019
site_health.py Reformat Code by PyCharm-Community Oct 10, 2019
slack_message.py Use print() function in both Python 2 and Python 3 Mar 21, 2020
snake.py Update snake.py Oct 20, 2019
spiralmatrix.py Reformat Code by PyCharm-Community Oct 10, 2019
spotlight.py Reformat Code by PyCharm-Community Oct 10, 2019
sqlite_check.py Reformat Code by PyCharm-Community Oct 10, 2019
sqlite_table_check.py Reformat Code by PyCharm-Community Oct 10, 2019
stack.py `True` is a builtin but `true` in an undefined name Nov 1, 2019
stackF_Harsh2255.py Create stackF_Harsh2255.py Oct 25, 2019
start-server.py Reformat Code by PyCharm-Community Oct 10, 2019
string_rotation.py Create string_rotation.py Oct 20, 2019
tar.py Reformat Code by PyCharm-Community Oct 10, 2019
testlines.py Reformat Code by PyCharm-Community Oct 10, 2019
text_cleaning_comparisson.py Reformat Code by PyCharm-Community Oct 10, 2019
text_file_replace.py Program that Replaces Specified Text String In a Text File Apr 9, 2020
tf_idf_generator.py Reformat Code by PyCharm-Community Oct 10, 2019
thread_signal.py Reformat Code by PyCharm-Community Oct 10, 2019
tic_tak_toe.py My first commit Oct 25, 2019
tik_tak.py Reformat Code by PyCharm-Community Oct 10, 2019
timymodule.py Reformat Code by PyCharm-Community Oct 10, 2019
tower_of_hanoi.py Adding tower of hanoi problem's program Oct 10, 2019
translation_of_sizes_of_underwear_RU.py Add program to translation of sizes of underwear Mar 17, 2020
triangles.py added triangles.py Mar 15, 2020
tweeter.py Reformat Code by PyCharm-Community Oct 10, 2019
twitter_post_scraper.py code scraper add Jan 2, 2020
two_num.py PEP8 Flake8 fixes Oct 2, 2018
webcam.py Add recording capabilities Mar 19, 2020
whatsapp-monitor.py Track online status of whatsapp contacts Oct 14, 2019
wiki_random.py Reformat Code by PyCharm-Community Oct 10, 2019
work_connect.py Reformat Code by PyCharm-Community Oct 10, 2019
write_excel_file.py Update write_excel_file.py Mar 19, 2020
xkcd_downloader.py Reformat Code by PyCharm-Community Oct 10, 2019
youtube-downloader fast.py Reformat Code by PyCharm-Community Oct 10, 2019
youtube.py search_with_artist Mar 15, 2020

README.md

My Python Examples

I do not consider myself 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 at [email protected].

These scripts contain important functions which help reduce human workload. Code documentation is aligned correctly when the files are viewed in Notepad++.

  • batch_file_rename.py - This batch renames a group of files in a given directory, once you pass the current and the new extensions.

  • 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.

  • Fast Youtube Downloader - Downloads 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 - Tests to see if the directory testdir exists, if not it will create the directory for you.

  • env_check.py - This script will check to see if all of the environment variables required are set.

  • blackjack.py - This script contains the Casino BlackJack-21 Game in Python.

  • fileinfo.py - Shows file information for a given file.

  • folder_size.py - Scans the current directory and all subdirectories and displays the size.

  • 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.

  • move_files_over_x_days.py - Moves all files over a specified age (in days) from the source directory to the destination directory.

  • nslookup_check.py - This simple script opens the file server_list.txt and then does an nslookup for each one to check the DNS entry.

  • osinfo.py - Displays some information about the OS on which you are running this script.

  • ping_servers.py - This script, depending on the arguments supplied, will ping the servers associated with that application group.

  • ping_subnet.py - After supplying the first 3 octets this file scans the final range for available addresses.

  • 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 it will notify you.

  • puttylogs.py - This file zips up all the logs in the given directory.

  • script_count.py - This file scans the scripts directory and gives a count of the different types of scripts.

  • [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.

  • script_listing.py - This file will list all the files in the given directory, and go through all the subdirectories as well.

  • testlines.py - This simple script opens a file and prints out 100 lines of whatever is the set for the line variable.

  • tweeter.py - Allows you to tweet text or a picture from the terminal.

  • 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 osx). If no port is found, an empty list is returned.

  • get_youtube_view.py - A simple python script to get more views for your YouTube videos. Useful for repeating songs on YouTube.

  • CountMillionCharacter.py And CountMillionCharacter2.0.py - Gets character count of a text file.

  • xkcd_downloader.py - Downloads the latest XKCD comic and places them in a new folder called "comics".

  • timymodule.py - A great alternative to Pythons 'timeit' module and easier to use.

  • calculator.py - Uses Python's eval() function to implement a calculator.

  • Google_News.py - Uses BeautifulSoup to provide Latest news headline along with news link.

  • cricket_live_score - Uses BeautifulSoup to provide live cricket score.

  • youtube.py - Takes a song name as input and fetches the YouTube URL of the best matching song and plays it.

  • site_health.py - Checks the health of a remote server

  • SimpleStopWatch.py - Simple Stop Watch implementation using Python's time module.

  • 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).

  • whatsapp-monitor.py - Uses Selenium to give online status about your contacts when your contacts become online in whatsapp you will get an update about it on terminal.

  • whatsapp-chat-analyzer.py - This is whatsapp group/individual chat analyzer . This script is able to analyse all activity happened in whatsapp group and visualize all thing through matplotlib library(In Graph form).

  • JARVIS.py - Control windows programs with your voice.

  • Images Downloader - Download Images Form webpage Work on unix based systems.

You can’t perform that action at this time.