"Scott Souva" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Your script may be working properly, but XP simply removes the window
> after the script runs.  Here is a simple fix that will stop at the end
> of the script and leave the Command window open:
>
> print "Hello World"
> raw_input()

That'll work (it waits for input from the user, and, as soon as it
receives it shuts down the window).

Another way to do it is instead of doubleclicking on the script,
open a command prompt window (Start>Run>cmd OR
Start>Programs>Accessories>Command Prompt) then type
'python test.py' at the prompt.  Now the window stays open
until you specifically close it and you can rerun the script many times.

HTH,

JC 


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to