| Store | Cart

[Tutor] trying to Learn. Need help.

From: Timothy M. Brauch <tbra...@mindless.com>
Sat, 15 Sep 2001 21:08:20 -0400
GJul...@aol.com wrote:
> > Hey, I got a book "SAMS TEACH YOURSELF PYTHON" Written by Ivan Van> Laningham, and the first excercise for writting a program is the> "Hello World" program.  I created the simple program and when I try to> run it ((using Windows 98))  the DOS box pops up but then is> disappears really quick not allowing me to see the program I created.>  When the program ends I know the DOS box disappears but I want the> DOS box to stay so I can see whats happening.  how can I do this?>   ((PS, this is a great book.  Thanks Ivan Van Liningham))

Quick solution, add something like

dummy=raw_input('Press enter to end this program.')

at the end of your code.

 - Tim

Recent Messages in this Thread
GJul...@aol.com Sep 16, 2001 12:51 am
Timothy M. Brauch Sep 16, 2001 01:08 am
Kirby Urner Sep 16, 2001 01:30 am
Messages in this thread