Was directed to a nifty tutorial regarding Python’s optparse, and how to use it to quickly create handy command-line utilities. Saves you the trouble of ever having to parse the command line. Check it out on IBM’s website: http://www.ibm.com/developerworks/aix/library/au-pythocli/
Summary taken from the article:
Summary: If you work in IT, as a UNIX® Sysadmin, a software developer, or even a manager, there a few skills that will set you apart from the crowd. Do you fully understand the OSI model? Are you comfortable with subnetting? Do you understand UNIX permissions? Let me add to this list the humble command line tool. By the end of this article, anyone involved in IT at any capacity should be able to create at least a simple command line tool.