How can I prevent running multiple instances of a python program, as I have to ensure a single instance of an program in Linux? We already have a solution for Shell and Perl scripts, but didn’t offer a solution for Python…

Suppose you are running a Linux based VPS, how can you run a test to check the speed of your data connection to internet? Here we will show a simple solution of how to test Internet connection speed for a…

Python 3.3.3 was released on November 17th, 2013. This release fixes several security and a lot of overall bug fixes found in Python 3.3.2. This release fully supports OS X 10.9 Mavericks. In particular, this release fixes an issue that…

Ajaxterm is a web based terminal. It was totally inspired and works almost exactly like Anyterm except it’s much easier to install. Ajaxterm written in python (and some AJAX javascript for client side) and depends only on python2.3 or better.…

Has your subversion repository ever been abused by massive commitments? If not, I should say that you are lucky. Never mind that someday you might be abused as it’s hard to predict what the non-Ops are working on and trying…

I met this issue last week, and finally got a proper way to handle it. We normally init a list like this “list=[]“, then how can we initialize a python list with a string variable?

In one of our former post, we give an example on how to query IP whois info by Python, here is an example on how to query whois information for a domain name. #!/usr/bin/python #encoding = utf8

This is a simple python script  based on some former rwhois code. It shows us an easy way on how to get detailed information about a specific IP address: joseph@e54:~$ python ip-whois.py 94.75.214.11 ====== whois.arin.net OrgName: RIPE Network Coordination Centre…