print "This is a program"
s = raw_input("Whats your name? ")
print "Hello,", s
[Python] SPE IDE Problem
Im starting to learn Python. I'm trying to use Stani's Python Editor to create the programs. I've ran into a problem though. I've been going to a bunch of different tutorials sites and most say all I need to do to display text is put either print "text" or >>> print "text".
Well, >>> print "text" doesn't work. The editor says that >>> is invalid script.
print "text" seems to work. When I run the program, the console windows pops up really quick then disappears. So I add some code that asks for user input to keep it up for awhile. Thing is, when I run the program, nothing appears in the console window.
So, I don't know if its something I'm doing wrong. Or if it's something I'm not doing. I've looked on the SPE site & forums. Can't find anythign that relates to this problem. I've looked at a few different sites. Still can't find anything to help.
If anyone has any insight to this problem, I would appreciate some help. Thanks for reading.
Heres the code:
>>> is the default interactive prompt. Do not type it.
How did you run the program?
Quote:Thing is, when I run the program, nothing appears in the console window.
How did you run the program?
Press f9 and when the box comes up uncheck the box that says "Exit terminal after running script"
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement