getopt with negative numbers?

Casey Caseyweb at gmail.com
Thu Sep 27 21:49:03 EDT 2007


On Sep 27, 7:57 pm, Neal Becker <ndbeck... at gmail.com> wrote:
> One person's "brilliant" is another's "kludge".
Well, it is a hack and certainly not as clean as having getopt or
optparse handle this natively (which I believe they should).  But I
think it is a simple and clever hack and still allows getopt or
optparse to function normally.  So I wouldn't call it a kludge, which
implies a more clumsy hack. As you say, it is all a matter of
perspective.




More information about the Python-list mailing list