470,821 Members | 2,081 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,821 developers. It's quick & easy.

I am new on here

i am writing a program how do you put a delay between each line that comes
up
Jul 18 '05 #1
1 1020
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

Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

15 posts views Thread by DavidS | last post: by
22 posts views Thread by Rob R. Ainscough | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.