1) Start a command prompt window
   (Start-Programs-Accessories-Command Prompt)
2) Change to directory where the python program is stored
   (cd \<path-where-script-stored>)
3) Type python myscript.py myarg

-Larry Bates


k8 wrote:
> Hello-
> 
> I'm stuck on a Windows machine today and would love to fully play with
> and test a simple python script.  I want to be able to type "python
> myscript myarg" somewhere.  Is there anything out there to help me?  My
> main concern is playing with the myarg in the sys.argv list.  I've been
> mucking around with IDLE without much success.
> 
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to