![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Feb 2005
Posts: 86
Rep Power: 0
![]() |
terminating programs
when i make a program and run it in the python shell i get to see the final output
if you save the program to your desktop and click on it it opens in an MS-DOS window but i dont get to see the final output is there a command that keeps it open or would i have to type something like: raw_input("Press any key to terminate program") |
|
|
|
|
|
#2 |
|
Expert Programmer
|
or you could just use input("\n")
|
|
|
|
|
|
#3 |
|
Programmer
Join Date: Feb 2005
Posts: 86
Rep Power: 0
![]() |
thanks
|
|
|
|
|
|
#4 |
|
Expert Programmer
|
no problem
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|