[python-win32] timeout function

Tim Golden mail at timgolden.me.uk
Wed Apr 7 15:26:48 CEST 2010


On 07/04/2010 14:24, pacopyc wrote:
> Hi, I'm trying to execute a function that could end never (infinite
> time). I'd like to set a timeout. If function respond before 30 sec ok,
> else go away.
> Can I do it? I can't find simple examples. Can you help me?

Have a look here:

http://code.activestate.com/search/#q=function%20timeout

TJG


More information about the python-win32 mailing list