Grant Edwards wrote:
On 2005-04-05, Tomi Silander <[EMAIL PROTECTED]> wrote:
How is one supposed to give negative numbers as positional arguments
when using optparse?
./mitvit.py -- -1.1
Thank you,
this works. I saw it in the source, but apparently did not properly pay
attention; all th
Hi,
this must have been asked 1000 times (or nobody is as stupid as me),
but since I could not find the answer, here is the question.
My program mitvit.py:
--
import optparse
optparse.OptionParser().parse_args()
--
gives me
$ python2.4 ./mitvit.py -1.1
usage: mitvit.py [opti