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

shawn bright nephish at gmail.com
Mon Mar 12 06:17:37 CET 2007


OK, will do. Looks like my future will involve more of this kind of thing.

thanks
shawn

On 3/11/07, Dave Kuhlman <dkuhlman at rexx.com> wrote:
> 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
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>


More information about the Tutor mailing list