[Tutor] how to send command line args to py script

Dave Kuhlman dkuhlman at rexx.com
Mon Mar 12 04:21:12 CET 2007


On Sun, Mar 11, 2007 at 09:07:41PM -0500, shawn bright wrote:
> Well, for your first response, its great,
> thanks a lot.
> shawn

And, when you needs to process command line arguments and flags and
options become more complicated, be sure to look at modules getopt
and optparse in the standard library.  optparse is newer and more
powerful than getopt, but also seems a bit more complex.

Dave


-- 
Dave Kuhlman
http://www.rexx.com/~dkuhlman


More information about the Tutor mailing list