[Python-3000] Move argv[0]? (Re: Unicode and OS strings) (original) (raw)

Thomas Wouters thomas at python.org
Sun Sep 16 17:24:33 CEST 2007


On 9/16/07, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:

> Also "argv" sounds more low-level than something like "arguments". While we're on the subject of argv, I've been wondering whether py3k might want to revisit the idea of having argv[0] be the program name. In my experience, one almost never wants to treat argv[0] the same way as the rest of the arguments.

-1. If you want to put more meaning in the argv list, use an option parser. The actual meaning of each element depends entirely on the program that's started. For Python-the-language, there isn't any difference between them.

-- Thomas Wouters <thomas at python.org>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/python-3000/attachments/20070916/7e01a3f5/attachment.htm



More information about the Python-3000 mailing list