Deferring a function call

Chris Rebert clp2 at rebertia.com
Tue Oct 19 00:36:46 EDT 2010


On Mon, Oct 18, 2010 at 9:21 PM, TomF <tomf.sessile at gmail.com> wrote:
> I'm writing a simple simulator, and I want to schedule an action to occur at
> a later time.  Basically, at some later point I want to call a function f(a,
> b, c).  But the values of a, b and c are determined at the current time.

See the `sched` std lib module:
http://docs.python.org/library/sched.html

Cheers,
Chris
--
http://blog.rebertia.com



More information about the Python-list mailing list