"shawn bright" <[EMAIL PROTECTED]> 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@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to