Pause a script before termination

Gary Herron gherron at islandtraining.com
Wed Nov 11 11:59:12 EST 2009


noydb wrote:
> Hi All,
>
> I want to pause my script before it terminates, just so a user can
> have a moment to read some print statements I include at the end.  How
> can this be accomplished?
>
> Thanks!
>   
If your IO is to/from a command line window, try this:

raw_input('Hit ENTER to exit: ')

Gary Herron





More information about the Python-list mailing list