Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Python (http://www.programmingforums.org/forum43.html)
-   -   terminating programs (http://www.programmingforums.org/showthread.php?t=2392)

arod199113 Feb 21st, 2005 6:22 PM

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")
at the end

thechristelegacy Feb 21st, 2005 6:37 PM

or you could just use input("\n")

arod199113 Feb 22nd, 2005 9:55 AM

thanks

thechristelegacy Feb 23rd, 2005 10:13 PM

no problem


All times are GMT -5. The time now is 11:19 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC