Hi alan
Thanks.
But if I write a code like the followiing, how I can stop the thread
#!/usr/bin/env python
import threading
import time, os
class Infi(threading.Thread):
def __init__(self, a):
self.a = a
threading.Thread.__init__(self)
def run(self):
i = 1
while i==1:
pri
"Vinu Vikram" <[EMAIL PROTECTED]> wrote
> Could anybody try to tell me whether it is possible to run a
> function only
> for a particular time period. In my python script I call some third
> party
> function which some time won't give results. I would like to write
> the
> script in such a way
Hi All
Could anybody try to tell me whether it is possible to run a function only
for a particular time period. In my python script I call some third party
function which some time won't give results. I would like to write the
script in such a way that, it will wait for the result from this functio