[Tutor] Read arguments from command line

Susana Iraiis Delgado Rodriguez susana.delgado_s at utzmg.edu.mx
Mon Mar 28 19:24:22 CEST 2011


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110328/138e5b1b/attachment.html>


More information about the Tutor mailing list