Time delay function?

Grant Edwards grante at visi.com
Sun Oct 20 12:05:37 EDT 2002


In article <aotq2e$p5ghm$1 at ID-49758.news.dfncis.de>, Ken wrote:

> Hi, is there a command in Python similar to javascript's
> window.settimeout(), where you can set a few seconds delay
> before executing a function?

No.  There is nothing in Python itself.  However, many GUI
toolkits provide such a function.  In Tk it's after():

http://www.faqts.com/knowledge_base/view.phtml/aid/4340/fid/542

Other toolkits have similar functions.

-- 
Grant Edwards                   grante             Yow!  It's the land of
                                  at               DONNY AND MARIE as promised
                               visi.com            in TV GUIDE!



More information about the Python-list mailing list