Python in System Administration
A series of articles about using Python (in place of the shell) for scripting Linux (or Unix) system adminstration tasks.
In the Linux courses I teach at Netcom I always stress that Python is a superior alternative to the Unix/Linux shell for scripting system administration tasks, from the most basic to the most complex.
Cameron Laird wrote a series of articles on the topic which serve as an excellent introduction:
Part II - Step Up from the Shell
Part III - Pexpect Automates Hard-to-Solve Problems
This page contains links to the articles in PDF format.