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 the args after "--" are considered positional if I read this right.


ts.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to