James Matthews wrote:
> So i need to make the list a global variable
No, that's not what he did at all. The names just happened to be the
same, that's all. Consider it this way:
import threading
def foo( threadresult ):
threadresult.extend( range(4) )
result = list()
thread = threading.Thread(target=foo, args=(result,))
thread.start()
result
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
_______________________________________________
Python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32