pause between the loops

skip at pobox.com skip at pobox.com
Sun Sep 21 22:28:36 EDT 2008


    Jackie> can I ask python to stop for, say, 5mins, after it go through
    Jackie> loop i=0 before it starts loop i=1?

import time

for i in range(10):
    time.sleep(5) # seconds



Skip



More information about the Python-list mailing list