This post will show how you can make a small and easy-to-use port scanner program written in Python. There are many ways of doing this with Python, … [Read more...] about Port scanner in Python
Code Snippets
Review our python code snippet articles below. We have covered so many examples it may take you awhile to browse them all. Feel free to use our search for a specific python coding example.
Having fun with OS.Walk in Python
Overview OS.walk() generate the file names in a directory tree by walking the tree either top-down or bottom-up. For each directory in the tree … [Read more...] about Having fun with OS.Walk in Python
Google Command Line Script
Overview Todays post will show how you can make a Google Command Line script with Python (version 2.7.x) """ Note: The Google Web Search API has been … [Read more...] about Google Command Line Script
Date and Time Script
Overview This script can be used to parse date and time. Open a blank file and name it for example dateParser.py. Copy and paste the code below (and … [Read more...] about Date and Time Script
SSH Connection with Python
Overview Last week I wrote an article about the pexpect module in Python and how you can use it to take care of some of the automation needs, like ssh … [Read more...] about SSH Connection with Python
Bitly Shortener with Python
Before we start Bitly allows users to shorten, share, and track links (URLs). It's a way to save, share and discover links on the web. Bitly … [Read more...] about Bitly Shortener with Python
Using Python to Send Email
Python includes several modules in the standard library for working with emails and email servers. smtplib Overview The smtplib module defines an SMTP … [Read more...] about Using Python to Send Email
Command Line speedtest.net via tespeed
Overview While looking around for a command line tool to check my network speed, I stumbledupon a post on lowendtalk.com. What is it? It's a command … [Read more...] about Command Line speedtest.net via tespeed
OS.Walk and Fnmatch in Python
Overview In an earlier post, OS.walk in Python, I described how to use os.walk and showed some examples on how to use it in scripts. In this … [Read more...] about OS.Walk and Fnmatch in Python
How to use ConfigParser in Python
What is Config Parser? The configparser module in Python is used for working with configuration files. It is much similar to Windows INI files. You … [Read more...] about How to use ConfigParser in Python