Time delay function?

Martin v. Loewis martin at v.loewis.de
Sun Oct 20 05:07:15 EDT 2002


"Ken" <ken at hotmail.com> writes:

> 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?

Try time.sleep.

Regards,
Martin



More information about the Python-list mailing list