I am new on here

W

wes weston

madgww said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,661
Latest member
sxarexu

Latest Threads

Top