On Nov 4, 12:43 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> def main(argv=None):
>      if argv is None: argv = sys.argv[1:]
>      ...

Wouldn't that make optparse miss the first parameter sys.argv[1]
mistaking it to be the name of the current program?

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

Reply via email to