[Tutor] Moving right along ...

Moshe Zadka Moshe Zadka <mzadka@geocities.com>
Sat, 4 Mar 2000 11:35:05 +0200 (IST)


On Fri, 3 Mar 2000, Robin B. Lake wrote:

> Thanks to the several who replied to my earlier questions.
> 
> Now, how do I keep the program from "running off the end"?  I
> launch the source by double-clicking (Mac) and the code runs
> well, but the Python window closes before I can read the output!

Try 

import time
time.sleep(30)

At the end. Had you mentioned a platform, you'd probably get a better 
answer.

--
Moshe Zadka <mzadka@geocities.com>. 
http://www.oreilly.com/news/prescod_0300.html