Ok i have resolved the issue thank you!
James
On 7/3/07, Tim Roberts <[EMAIL PROTECTED]> wrote:
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
--
http://www.goldwatches.com/watches.asp?Brand=14
http://www.jewelerslounge.com
_______________________________________________
Python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32