| Store | Cart

[Tutor] Python Script Testing

From: Preeti Saxena <pree...@gmail.com>
Thu, 15 Mar 2018 22:26:52 +0530
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
_______________________________________________
Tutor maillist  -  Tut...@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Recent Messages in this Thread
Preeti Saxena Mar 15, 2018 04:56 pm
Alan Gauld via Tutor Mar 15, 2018 05:41 pm
Alan Gauld via Tutor Mar 15, 2018 06:53 pm
Alex Kleider Mar 15, 2018 05:50 pm
Messages in this thread

Previous post: [Tutor] PYTHON HELP