Following is untested but based on other work I've done:

import threading

class Foo:
    def __init__(self):
       self.list = []
    def run(self):
       # manipulate the list from within the thread

foo = Foo()
threading.Thread(target = foo.run)
...
foo.list # access the list as modified by the thread


-- 
Bob Gailer
510-978-4454 Oakland, CA
919-636-4239 Chapel Hill, NC

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to