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
you should be typing this into a new file use ctrl+N to open a new window
awesome thanks alot! One rookie mistake down... X to go. it works now =)
welcome!
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..
I tried loading it from the command line but it didnt work for me.
Join our real-time social learning platform and learn together with your friends!