[Tutor] pyce, scripts complete too fast

Wayne Werner waynejwerner at gmail.com
Tue Nov 17 08:49:32 CET 2009


On Tue, Nov 17, 2009 at 12:51 AM, rick <rdole1 at cogeco.ca> wrote:

> I was thinking to be ultra portable, I'd put python on the pocket pc.
> Now I'm back to the problem that a Windows newbie would have, the
> scripts complete before I can see what happened!  I can get right to the
> interactive mode, or I can run a script, but not sure where I'd find the
> terminal.
>

Add "raw_input('<enter to continue>')" or some such to the end of your
program!

HTH,
Wayne

-- 
To be considered stupid and to be told so is more painful than being called
gluttonous, mendacious, violent, lascivious, lazy, cowardly: every weakness,
every vice, has found its defenders, its rhetoric, its ennoblement and
exaltation, but stupidity hasn’t. - Primo Levi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20091117/a9a9aab8/attachment.htm>


More information about the Tutor mailing list