Name: newb 2009-07-02 0:56
I need quick advice; I can delete the thread after it's answered.
I'm running IDLE with python 3.1 on a Mac, and I can't create multiple-string programs while it's actively running python shell. Even pasting multiple string commands into the shell results in the shell only running the first string.
For example, if I try
print("Halt!")
user_input = input("Who Goes there? ")
print("You may pass, " + user_input)
it only produces
Halt!
So I have to save all of my programs in separate windows and then manually run them to see real results (this wouldn't be a problem if I the text was still colored as I wrote it, but it isn't and I find it easier to read this way). Is there a way to run multiple-string programs in in an active shell?
I'm running IDLE with python 3.1 on a Mac, and I can't create multiple-string programs while it's actively running python shell. Even pasting multiple string commands into the shell results in the shell only running the first string.
For example, if I try
print("Halt!")
user_input = input("Who Goes there? ")
print("You may pass, " + user_input)
it only produces
Halt!
So I have to save all of my programs in separate windows and then manually run them to see real results (this wouldn't be a problem if I the text was still colored as I wrote it, but it isn't and I find it easier to read this way). Is there a way to run multiple-string programs in in an active shell?