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