Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 5 Online
OpenStudy (anonymous):

Trying to do ps0. When i type in the raw_input it asks me in the IDE, and i can store it and get it to print it back out, in the IDE.... but how do I save it and open it to run? If i click on the file it prompts for what program to use, and none work. code: >>> x = raw_input('What is your name?') >>> y = raw_input('When were you born?') >>> print x >>> print y

OpenStudy (turingtest):

you should be typing this into a new file use ctrl+N to open a new window

OpenStudy (anonymous):

awesome thanks alot! One rookie mistake down... X to go. it works now =)

OpenStudy (turingtest):

welcome!

OpenStudy (anonymous):

I was having, I think, similar problems. I'm not sure exactly how IDLE works and all (I got basic CS issues..), but someone sent me these links. I typed almost the same code as yours and was only able to run it by typing the code into notepad++ and invoking python from the command line. Someone sent me these links on how to use IDLE: http://www.annedawson.net/Python_Editor_IDLE.htm http://www.linuxcandy.com/2012/07/how-to-save-and-run-python-program-in-idle.html I guess you might have to cut and paste the links..

OpenStudy (anonymous):

I tried loading it from the command line but it didnt work for me.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!