How can I waste time ?
Delaney, Timothy C (Timothy)
tdelaney at avaya.com
Wed Feb 18 22:55:36 EST 2004
More information about the Python-list mailing list
Wed Feb 18 22:55:36 EST 2004
- Previous message (by thread): How can I waste time ?
- Next message (by thread): How can I waste time ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> From: Richard Shea > > I'm sure this is a very simple question but I can't find an answer in > the archives. > > 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). > > Oh yes one other thing - I could write a loop and keep checking the > sytem clock but I would prefer for the process to just get out of the > way to allow others things access to the CPU. > > As I say I'm sure it's dead simple but how ? time.sleep(secs) http://www.python.org/doc/current/lib/module-time.html Tim Delaney
- Previous message (by thread): How can I waste time ?
- Next message (by thread): How can I waste time ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list