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

Ron Adam rrr at ronadam.com
Tue Sep 18 05:28:28 CEST 2007


Greg Ewing wrote:

Ron Adam wrote:

Would it be possible to split out the (pre) parsing from optparse so that instead of returning a list Whatever is done, anything putting itself forward as a light duty argument parser has to have a very simple API. Neither of the current ones fits my brain, and I have to go looking up the docs every time I want to use them.

I agree. I like reusing dictionaries and lists when possible over special types because I don't have to look up how to use them.

Ron



More information about the Python-3000 mailing list