Using command line args on Windows

Diez B. Roggisch deets at nospam.web.de
Wed Oct 5 17:11:09 EDT 2005


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.

Install cygwin. Don't confuse the cygwin python version with your 
separately installed one, or don't install python via cygwin.

Regards,

Diez



More information about the Python-list mailing list