Parsing and handling options is so simple that when Greg Ward announced Optik, a command-line parsin
glibrary, I asked him why he would even bother. He replied, “Theproblem is not that it’s difficult per se, but that it’s too easy –any idiot can code a loop over sys.argv. The trick is turning thisloop into a decent user interface, and coding it in a reusable way.Coding the same loop over sys.argv in every script you write gets oldpretty fast, which is probably why this is the mo 
continue >>




Author:
admin
Time:
Saturday, February 9th, 2008 at 12:52 pm
Category:
Python
Comments:
You can leave a response, or trackback from your own site.
RSS:
You can follow any responses to this entry through the RSS 2.0 feed.
Navigation:

Leave a Reply