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
Scripts
Log Checker in Python
Show all entries in a logfile This script will show all entries in the file that is specified in the log file variable. Log Checker Script In this … [Read more...] about Log Checker in Python
Python : Guessing Game part 2
Overview This small program extends the previous guessing game I wrote about in this : post "Python Guessing Game". Guessing Game In this game we will … [Read more...] about Python : Guessing Game part 2
Python Password Generator
Password Generator You can use Pythons string and random modules to generate passwords. The string module contains a number of useful constants and … [Read more...] about Python Password Generator
Python Code: Celsius and Fahrenheit Converter
Overview This script converts temperature between Fahrenheit to Celsius. To create a python converter for celsius and fahrenheit, you first have to … [Read more...] about Python Code: Celsius and Fahrenheit Converter
Python Code: Calculate the average score
Overview This script will calculate the average of three values. Make sure to put in "int" before the raw_input function, since we are using … [Read more...] about Python Code: Calculate the average score
Check your external IP address
Overview This is a simple Python script to check which external IP address you have. First we are importing the urllib and re modules. Check your IP … [Read more...] about Check your external IP address
Python Hangman Game
Overview This is a Python script of the classic game "Hangman". The word to guess is represented by a row of dashes. If the player guess a letter … [Read more...] about Python Hangman Game