[Tutor] trying to Learn. Need help.
Timothy M. Brauch
tbrauch@mindless.com
Sat, 15 Sep 2001 21:08:20 -0400
GJuliusCaesar@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