How can I waste time ?

Chris Herborth chrish at cryptocard.com
Thu Feb 19 11:31:29 EST 2004


Richard Shea wrote:

> I'm sure this is a very simple question but I can't find an answer in
> the archives.

Try the Python Library Reference? :-)

> I want my script to pause for a pre-determined number of seconds. How
> do you do that ? I've found 'pause()' although it sounds awfully deep
> for what I want and what's more it doesn't work on W32 (I'm developing
> on W32 but will run on *nix).

import time
...
time.sleep( number_of_seconds )

-- 
Chris Herborth                                     chrish at cryptocard.com
Documentation Overlord, CRYPTOCard Corp.      http://www.cryptocard.com/
Never send a monster to do the work of an evil scientist.



More information about the Python-list mailing list