[Tutor] input and output files from terminal

Brain Stormer brnstrmrs at gmail.com
Mon Apr 14 18:55:07 CEST 2008


I have a python program which works fine when run using idle but I would
like call the program from the terminal.

python test.py -i inputfile -o outputfile

I tried with raw_input but that only works in idle.  Can this be achieved?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20080414/2af3bda7/attachment.htm 


More information about the Tutor mailing list