From: Carl K. <ca...@pe...> - 2007-05-29 23:29:26
|
Carl Karsten wrote: > I haven't tried it yet, but just wanting to make sure there isn't anything odd I > have to do to use optparse: > > http://www.python.org/doc/lib/module-optparse.html One slight problem: the usage line doesn't magically change .py to .exe: c:\>uloop3.exe --help usage: uloop3.py [options] Might be worth mentioning somewhere. http://www.python.org/doc/lib/optparse-generating-help.html shows usage = "usage: %prog [options] arg1 arg2" Guessing it wouldn't be to hard to tweak that. Carl K |