Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Python (http://www.domainnameforum.org/forumdisplay.php?f=138)
-   -   Code Snippet Console Press Any Key Message (Windows Only) (http://www.domainnameforum.org/showthread.php?t=85579)

Python 04-09-2010 10:34 PM

Code Snippet Console Press Any Key Message (Windows Only)
 
Most people would do something like this: input("Press any key to continue") #or raw_input This way, if the user presses a key other than the Enter (return) key, then the program will still continue. It looks something like this: http://i42.tinypic.com/2yvp9hj.png


All times are GMT -4. The time now is 09:45 PM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.