Time-dependent method

Fredrik Lundh fredrik at pythonware.com
Sun Aug 17 18:01:26 EDT 2008


hypermonkey2 wrote:

> I was wondering if it is possible to call a method such that if it
> takes more than say 1 minute to complete, it will give up and do
> something else instead.

as mentioned in the recent "Create a process with a 'time to live'" thread:

    http://code.activestate.com/recipes/307871/

</F>




More information about the Python-list mailing list