[Tutor] Read arguments from command line

Blockheads Oi Oi breamoreboy at yahoo.co.uk
Mon Mar 28 19:52:00 CEST 2011

On 28/03/2011 18:24, Susana Iraiis Delgado Rodriguez wrote:
> Hello everyone!
> I want to run a python script which reads arguments from command line. I
> searched in web and the module sys.argv came up. But I don't understand
> how it works. I need to know how to pass arguments from command line and
> make the python script works from MS-DOS instead of run my program from
> the python console.
> Is there any documentation?
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
See this from a well known Python tutorial 

More information about the Tutor mailing list