import time

running = True
while running:
    print 'yes'
    time.sleep(10)

This will print 'yes' after every 10s. I want to print 'yes' for 10s, then
quit.

Saad
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to