Command line arguments
Erik Max Francis
max at alcyone.com
Thu Jan 9 06:51:09 EST 2003
Dusausoy Bruno wrote:
> I use the getopt module for the options but i don't know how to catch
> the FILES arguments. Can someone help me ?
The main getopt returns a 2-tuple of the options, and then the
remaining, non-option arguments. You want the second half of the return
value.
--
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/ \ In the fight between you and the world, back the world.
\__/ Frank Zappa
Alcyone Systems / http://www.alcyone.com/
Alcyone Systems, San Jose, California.
More information about the Python-list
mailing list