Python Tutorials and HowTos

Python programming related tutorial, howtos, tips, and hacks under Unix like operating systems with special focus on sys admin tasks ( rss feed ).

How do I convert a string such as x=’12345′ to an integer (int) under Python programming language?

{ 1 comment }

I am a new Python user. I wanted to run a Linux or Unix external program. For example, I would like to call an external program called /bin/date with my python script and get the output on screen or store in a variable. How do I display such output and exit status (return code) of /bin/date program using a Python script?

{ 1 comment }

How do I add Autocomplete support to gedit text editor under Linux Gnome desktop operating systems?


How do I find out python programming language version under UNIX / *BSD / Linux / Apple OS X operating systems?


I‘ve installed a Web server (Apache2) and like to use Python interpreter correctly. How do I configure mod_python under Debian or Ubuntu Linux running Apache server version 2.x?


How do I write my first program in python? How do I print “hello world” message in Python?


How do I block and stop attacks on ssh server under CentOS Linux or Red Hat Enterprise Linux server 5.x?