[Tutor] Python Script Testing

Preeti Saxena preetisaxenamac at gmail.com
Thu Mar 15 12:56:52 EDT 2018


Hi,
   I am new to python. I am trying to test my program, like a coursera
submission, which takes run time arguments using "raw_input()". Is there a
way I can write all the input data into a file and pass it from command
line to the script?
1. I have to use "raw_input".
2. I do not wish to open a file inside the script as that will beat the
purpose.

Thanks for any and all the help.

Thanks,
Preeti


More information about the Tutor mailing list