Handling command line arguments

Python scripts are fantastic tools for any OS, Mark Pilgrim shows how one can use command line arguments to make them even more versatile!
http://www.faqs.org/docs/diveintopython/kgp_commandline.html