On Apr 11, 2005 11:00 AM, Alberto Troiano <[EMAIL PROTECTED]> wrote:
>
> To give you a graphic example how can make this function to run every 5
> seconds
>
> def foo():
>
> print "Hello world!"
>
I'm not Kent, but I play him on TV ;-)
import time
def foo():
print "Hello world!"
while true:
foo()
time.sleep(5)
--
Kristian
kristian.zoerhoff(AT)gmail.com
zoerhoff(AT)freeshell.org
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor