[Tutor] Ending a script

Kent Johnson kent37 at tds.net
Wed Feb 6 16:36:29 CET 2008


Damian Archer wrote:
> When I am running a script in cmd the script runs but the cmd windows 
> closes immediately after the script has finished.
> 
> Is there anyway I can freeze the cmd window until a user actually 
> closers it??

End your script with something like
raw_input('Press any key to exit')

Kent


More information about the Tutor mailing list