win32: Leaving Dos Box open

Bo M. Maryniuck b.maryniuk at forbis.lt
Tue Jul 9 09:30:29 EDT 2002


On Tuesday 09 July 2002 15:25, Thomas Guettler wrote:
> Hi!
>
> How can the dos box be left open when I run foo.py from
> the windows explorer and there is a syntax error?

Way No.1
------[COOL.BAT]----------
C:\PYTHON\PYTHON.EXE your_cool_program.py
pause
---------------------------

Way No.2
a) Start->Run->Command
b) C:\PYTHON\PYTHON.EXE your_cool_program.py


Way No.3 (best of all)
a) Insert boot CD with Linux
b) Reboot...

-- 
Sincerely yours, Bogdan M. Maryniuck

"A word to the wise: a credentials dicksize war is usually a bad idea on the
net."
(David Parsons in c.o.l.development.system, about coding in C.)






More information about the Python-list mailing list