Overview This article will show how you can use FTP in Python with the help of the ftplib module. Ftplib The ftplib module in Python allows you to … [Read more...] about How to use FTP in Python
Scripts
Port scanner in Python
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
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
Using the YouTube API in Python
Overview In this post we will be looking on how to use the YouTube API in Python. This program will show how we can use the API to retrieve feeds from … [Read more...] about Using the YouTube API in Python
Get the Geo Location of an IP Address
Time for a script again, this one will geolocate an IP address based on input from the user. For this script, we will be using a bunch of Python … [Read more...] about Get the Geo Location of an IP Address
Script : Get the username from a prompt…
This script will ask the user for its username, by using the raw_input function. Then a list of allowed users is created named user1 and user2. The … [Read more...] about Script : Get the username from a prompt…
Python : OS.listdir and endswith( )
This short script uses the os.listdir function (that belongs to the OS module) to search through a given path (".") for all files that endswith … [Read more...] about Python : OS.listdir and endswith( )
Using the web browser in Python
The webbrowser module in Python provides an interface to display Web-based documents. Webbrowser Under most circumstances, simply calling the open() … [Read more...] about Using the web browser in Python
OS.walk in Python
Python has a cool built-in function in the OS module that is called os.walk() . OS.Walk() OS.walk() generate the file names in a directory tree by … [Read more...] about OS.walk in Python
Monitor Apache / Nginx Log File
Count the number of hits in a Apache/Nginx This small script will count the number of hits in a Apache/Nginx log file. How it works This script … [Read more...] about Monitor Apache / Nginx Log File