Apr. 03, 2013

Python Code Snippets

Code Snippets

CommandLineFu with Python
Port Scanner in Python
Google Command Line Script
Date and Time Script
SSH Connection with Python
Bitly Shortener
Using Python to Send Email
Command Line speedtest.net via tespeed
Find all mp3 files with os.walk and fnmatch
Show the most popuplar videos on YouTube
Backup all MySQL databases, with timestamp.
Get the Geo location of an IP Address
How to use the Vimeo API in Python
Get the username from a prompt
Celsius and Fahrenheit Convertor
Count how many days until a birthday
Twitter command line program
Convert from KM/H to MPH
Monitor Nginx and Apache log files
Get all links from a website
Age, Height and Weight
Calculate Average Score
Python Hangman Game
IMDB Crawler/Scraper
Check your external IP address
Get the username from a prompt
Password Generator
Log Checker
Finding all files in the path that endswith a certain extension
Parsing with Json
Guessing Game Part 2
Webbrowser script
OS Walk

Recommended Python Training – DataCamp

For Python training, our top recommendation is DataCamp.

Datacamp provides online interactive courses that combine interactive coding challenges with videos from top instructors in the field.

Datacamp has beginner to advanced Python training that programmers of all levels benefit from.

 



Read more about:
Disclosure of Material Connection: Some of the links in the post above are “affiliate links.” This means if you click on the link and purchase the item, I will receive an affiliate commission. Regardless, PythonForBeginners.com only recommend products or services that we try personally and believe will add value to our readers.