Yea -- the "sched" class is exactly what you need. Just import sched
and then use it to schedule a function call in the future, either using
relative time or an absolute time. The python help file tells you how
in detail.
  - Ken

[EMAIL PROTECTED] wrote:
> Hi all,
>
> Not exactly new to Python, just have not programmed a time dependent
> function using it before.
>
> I imagine that many of you may also program some JavaScript and may be
> familiar with JavaScript's SetTimeout( expression, after time interval
> in milliseconds) function.  Does Python have an equivalent to this?
>
> A SetTimeout-like Python function would be ideal for my application.
> 
> 
> Best,
> 
> Y-coci

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to