Re: asynchronous timer events - how to?

2008-01-09 Thread Helmut Jarausch
Fredrik Lundh wrote: > Helmut Jarausch wrote: > >> I'm using a web server (Karrigell) which is based on the asyncore module. >> I'd like to be able to checkpoint some data (e.g. pickled >> dictionaries) to disk >> from time to time. >> For that I would need to setup a timer which calls a Python

Re: asynchronous timer events - how to?

2008-01-09 Thread Fredrik Lundh
Helmut Jarausch wrote: > I'm using a web server (Karrigell) which is based on the asyncore module. > I'd like to be able to checkpoint some data (e.g. pickled dictionaries) to > disk > from time to time. > For that I would need to setup a timer which calls a Python object/function > when > its

asynchronous timer events - how to?

2008-01-09 Thread Helmut Jarausch
Hi, I'm using a web server (Karrigell) which is based on the asyncore module. I'd like to be able to checkpoint some data (e.g. pickled dictionaries) to disk from time to time. For that I would need to setup a timer which calls a Python object/function when its time interval has expired. While t