pause between the loops

skip at pobox.com skip at pobox.com
Mon Sep 22 04:28:36 CEST 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