[Tutor] How to pass command line variables to this python code...
Alan Gauld
alan.gauld at btinternet.com
Tue Jul 14 20:13:46 CEST 2009
"J Cook" <jcook713 at gmail.com> wrote
> Now I am confused on how to pass a command line parameter here. Any
> suggestions? I would like to be able to run something like:
>
> $ python selenium-google-test.py "yankees"
Try the Talking to the User topic in my tutorial, it includes a section
on accessing command line args.
--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/
More information about the Tutor
mailing list