Pause a script before termination

baboucarr sanneh sanneh27 at hotmail.com
Wed Nov 11 12:00:41 EST 2009





$LIM $H at DY



> From: jenn.duerr at gmail.com
> Subject: Re: Pause a script before termination
> Date: Wed, 11 Nov 2009 08:47:05 -0800
> To: python-list at python.org
> 
> On Nov 11, 11:43 am, noydb <jenn.du... at gmail.com> 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 second pause
> -- 

> http://mail.python.org/mailman/listinfo/python-list

okay thank you
 		 	   		  
_________________________________________________________________
Windows Live: Keep your friends up to date with what you do online.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091111/4197965e/attachment.html>


More information about the Python-list mailing list