[Tutor] Moving right along ...

Gerrit Holl gerrit@nl.linux.org
Fri, 3 Mar 2000 21:56:23 +0100

<quote name="Robin B. Lake" date="952093135" email="rbl@hal.cwru.edu">
> 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!
> The Python Essential Reference book only shows a "pause" function
> for UNIX.


Ugly, but...

>>> raw_input("Press <ENTER> to continue... ")


Plies korekt enie bet ingglisj joe encauntur in mai imil mesusj!
-----BEGIN GEEK CODE BLOCK----- http://www.geekcode.com
Version: 3.12
GCS dpu s-:-- a14 C++++>$ UL++ P--- L+++ E--- W++ N o? K? w--- !O !M !V PS+ PE?
Y? PGP-- t- 5? X? R- tv- b+(++) DI D+ G++ !e !r !y