Arg decoding with a template?
skip at pobox.com
Wed Aug 1 17:25:06 CEST 2001
Hans-J> I would have written a parser for this under Unix, but I prefer
Hans-J> to have a consistent interface, which means basically getopt()
Hans-J> (though I did write my own C getopt()).
Ok, I'll bite. Why write your own C getopt? There are several floating
around, and there's the standard module delivered with Python. Option
parsing hardly seems like performance-cricial code.
Skip Montanaro (skip at pobox.com)
More information about the Python-list