![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Mar 2006
Posts: 2
Rep Power: 0
![]() |
Keeping Window Open :\
K, I'm a complete noob when it comes to python. I have no experience in it what-so-ever. So you might be getting a lot of these posts from me... little lame things...
Now, how do you keep a python window open? When I do the print command, it doesn't stay open. Noobular, I know... but still. How? |
|
|
|
|
|
#2 | |
|
Professional Programmer
|
If python compilers are anything like c++, your program will execute then as soon as it's done, close. You can just ask for user input at the very end of your program, then it won't close.
If this isn't the problem you're having, my bad.
__________________
▄▄▄▄ Quote:
Due to incorrect calculations during the middle ages, our calendar actually begins a few years after Jesus' birth. Thus the real 6/6/6 happened a few years back. The world already ended and you missed it. Download Code::Blocks now! ▄▄▄▄ |
|
|
|
|
|
|
#3 | |
|
Programmer
Join Date: Apr 2005
Posts: 73
Rep Power: 4
![]() |
Quote:
-T. |
|
|
|
|
|
|
#4 |
|
Professional Programmer
Join Date: Feb 2005
Posts: 434
Rep Power: 4
![]() |
Without the last line shown
# bla blah blah code here
raw_input("Press enter to go on ...")IDEs have their own output window and keep showing the result.
__________________
I looked it up on the Intergnats! |
|
|
|
|
|
#5 | |
|
Programmer
Join Date: Apr 2005
Posts: 73
Rep Power: 4
![]() |
Quote:
-T. |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|