On Sat, Jun 7, 2008 at 12:50 AM, Derek Tracy <[EMAIL PROTECTED]> wrote:
> I am trying to create a simple python cgi app that allows the user to kick
> off an ftp from the server the cgi is on to another server; I have that
> piece working using ftplib but since the files in question are usually ve
On Fri, Jun 6, 2008 at 10:30 PM, John Dohn <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> How can I kill a threading.Thread subclass from MainThread?
At the end I did:
def run(self):
while True:
if e
Hi there,
How can I kill a threading.Thread subclass from MainThread?
My threads are waiting for data in Queue.get() method:
class MyThread(threading.Thread):
def run(self):
while True:
data = queue.get()# <- here it waits most of the time
... process data