I am new on here

wes weston wweston at att.net
Sat Jul 10 17:55:21 EDT 2004


madgww wrote:
> i am writing a program how do you put a delay between each line that comes
> up
> 
> 

M,
    See http://docs.python.org/lib/module-time.html
and the time.sleep(sec) function.

sleep(secs)
     Suspend execution for the given number of seconds.
The argument may be a floating point number to indicate
a more precise sleep time. The actual suspension time
may be less than that requested because any caught
signal will terminate the sleep() following execution
of that signal's catching routine. Also, the suspension
time may be longer than requested by an arbitrary amount
because of the scheduling of other activity in the system.

wes




More information about the Python-list mailing list