Skip to content
My Python Examples
Python Tcl Other
Branch: master
Clone or download
Latest commit 4a83e0e Nov 28, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Assembler Reformat Code by PyCharm-Community Oct 10, 2019
BlackJack_game Reformat Code by PyCharm-Community Oct 10, 2019
CRC Reformat Code by PyCharm-Community Oct 10, 2019
Colors Update primary_colors.py Nov 1, 2019
Compression_Analysis opencv Oct 17, 2019
CountMillionCharacters-Variations Reformat Code by PyCharm-Community Oct 10, 2019
Flappy Bird - created with tkinter Reformat Code by PyCharm-Community Oct 10, 2019
Google_Image_Downloader Fix certificate verify failed in image_grapper.py Nov 4, 2019
JARVIS JARVIS:- Control windows programs with your voice. [21-11-2019] Nov 21, 2019
Koch Curve importing turtle Oct 16, 2019
PDF Reformat Code by PyCharm-Community Oct 10, 2019
UI-Apps created a simple clock widget using Tkinter Oct 13, 2019
Weather Scrapper Reformat Code by PyCharm-Community Oct 10, 2019
Windows_Wallpaper_Script Reformat Code by PyCharm-Community Oct 10, 2019
XORcipher Reformat Code by PyCharm-Community Oct 10, 2019
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 Delete temp Oct 14, 2019
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 Reformat Code by PyCharm-Community Oct 10, 2019
other_pepole Reformat Code by PyCharm-Community Oct 10, 2019
primelib Optimize isPrime and the Sieve of Eratosthenes functions Oct 10, 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 Reformat Code by PyCharm-Community Oct 10, 2019
video-operations Reformat Code by PyCharm-Community Oct 10, 2019
.gitignore Fetch News Script Added Nov 11, 2019
.travis.yml Travis CI: Streamline our approach to testing Jun 30, 2019
BST isTrue_YashV1729.Java Create BST isTrue_YashV1729.Java Oct 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_orr_horse.py Reformat Code by PyCharm-Community Oct 10, 2019
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 Reformat Code by PyCharm-Community Oct 10, 2019
GroupSms_Way2.py Reformat Code by PyCharm-Community Oct 10, 2019
Guess_the_number_game.py Update Guess_the_number_game.py Oct 20, 2019
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_Link.py Create Merge_Link.py Oct 22, 2019
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 Update Print_List_of_Even_Numbers.py Oct 20, 2019
Print_List_of_Odd_Numbers.py Fix IndentationError in Print_List_of_Odd_Numbers.py Nov 1, 2019
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 JARVIS:- Control windows programs with your voice. [21-11-2019] Nov 21, 2019
RandomDice.py Reformat Code by PyCharm-Community Oct 10, 2019
ReadFromCSV.py added comments Oct 20, 2019
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 Reformat Code by PyCharm-Community Oct 10, 2019
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 Reformat Code by PyCharm-Community Oct 10, 2019
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 Time Conversion Script Added Nov 12, 2019
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
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 Add files via upload Oct 11, 2018
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 Fetch News Script Added Nov 11, 2019
fibonacci.py Reformat Code by PyCharm-Community Oct 10, 2019
fileinfo.py Reformat Code by PyCharm-Community Oct 10, 2019
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_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 Reformat Code by PyCharm-Community Oct 10, 2019
password_cracker.py Reformat Code by PyCharm-Community Oct 10, 2019
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 Reformat Code by PyCharm-Community Oct 10, 2019
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 Reformat Code by PyCharm-Community Oct 10, 2019
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 Time Conversion Script Added Nov 12, 2019
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
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
tweeter.py Reformat Code by PyCharm-Community Oct 10, 2019
two_num.py PEP8 Flake8 fixes Oct 2, 2018
webcam.py Reformat Code by PyCharm-Community Oct 10, 2019
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 Reformat Code by PyCharm-Community Oct 10, 2019
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 Reformat Code by PyCharm-Community Oct 10, 2019

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 craig@geekcomputers.co.uk.

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.

You can’t perform that action at this time.