Il Wed, 11 Nov 2009 08:43:29 -0800 (PST), noydb ha scritto:
> Hi All,
>
> I want to pause my script before it terminates, just so a user can
> have a moment to read some print statements I include at the end. How
> can this be accomplished?
http://stackoverflow.com/questions/510357/python-read-
$LIM $...@dy
> From: jenn.du...@gmail.com
> Subject: Re: Pause a script before termination
> Date: Wed, 11 Nov 2009 08:47:05 -0800
> To: python-list@python.org
>
> On Nov 11, 11:43 am, noydb wrote:
> > Hi All,
> >
> > I want to pause my script befo
noydb wrote:
Hi All,
I want to pause my script before it terminates, just so a user can
have a moment to read some print statements I include at the end. How
can this be accomplished?
Thanks!
If your IO is to/from a command line window, try this:
raw_input('Hit ENTER to exit: ')
Gary Her
On Nov 11, 2009, at 11:47 AM, noydb wrote:
On Nov 11, 11:43 am, noydb wrote:
Hi All,
I want to pause my script before it terminates, just so a user can
have a moment to read some print statements I include at the end.
How
can this be accomplished?
Thanks!
Never mind, duh, found my ans
On Nov 11, 11:43 am, noydb wrote:
> Hi All,
>
> I want to pause my script before it terminates, just so a user can
> have a moment to read some print statements I include at the end. How
> can this be accomplished?
>
> Thanks!
Never mind, duh, found my answer now
import time
time.sleep(10) #10
Hi All,
I want to pause my script before it terminates, just so a user can
have a moment to read some print statements I include at the end. How
can this be accomplished?
Thanks!
--
http://mail.python.org/mailman/listinfo/python-list