Sign in to follow this  
Koolchamp

[Python] SPE IDE Problem

Recommended Posts

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:
print "This is a program"
s = raw_input("Whats your name? ")
print "Hello,", s

Share this post


Link to post
Share on other sites
>>> is the default interactive prompt. Do not type it.

Quote:
Thing is, when I run the program, nothing appears in the console window.


How did you run the program?

Share this post


Link to post
Share on other sites
Press f9 and when the box comes up uncheck the box that says "Exit terminal after running script"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this