[Tutor] how to add arguments to a command line program
shawn bright
nephish at gmail.com
Fri Sep 14 21:59:18 CEST 2007
Just what i was looking for, thanks
shawn
On 9/14/07, Alan Gauld <alan.gauld at btinternet.com> wrote:
>
>
> "shawn bright" <nephish at gmail.com> wrote
>
> > i am sure i do it with sys args, but don't know how.
> >
> > like
> >
> > python run_my_script.py somevar
> >
> > does this make sense ?
> >
>
> Check my Talking to the User topic in my tutorial.
> The second half talks about using command line arguments.
>
>
> --
> Alan Gauld
> Author of the Learn to Program web site
> http://www.freenetpages.co.uk/hp/alan.gauld
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070914/dac373db/attachment.htm
More information about the Tutor
mailing list