Re: sig active or not?

David Boddie <[email protected]> Fri, 12 Apr 2002 13:46:20 +0100
Newsgroups gmane.comp.python.getopt
Organization SleepyDog
Message-ID <[email protected]>
On Friday 12 Apr 2002 1:32 pm, [email protected] wrote:

> may i ask what you think about my recent proposal?
>
> http://mail.python.org/pipermail/getopt-sig/2002-April/000121.html

In your proposal, you wrote:

>  if you say "program --id 17 /etc/passwd /etc/groups"
>  your program.run function will have the following vars
>  in locals()
>
>         quiet = None
>         verbose= None
>         id=17
>         filein='/etc/passwd'
>         morefiles=('/etc/groups')

I think that this is interesting as you automatically obtain variables
initialised to the desired values, but I can't really comment on the
method you use.

How do you propose that options such as "--output-file" are represented
as variables?

David

________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________