Saturday, April 12, 2008

Python Makes Robust Command-Line Tools

An article from IBM's developerWorks site has opened my eyes to the potential of Python for this purpose. The optparse library provides built-in parsing of command-line arguments, with automatic help display and error handling. The subprocess module handles system calls smoothly, and the ConfigParser module parses name=value config files.

read more | digg story