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 ).

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?

{ 12 comments }

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

{ 4 comments }

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?

{ 11 comments }

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

{ 4 comments }

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

{ 8 comments }