im new to python threading question

Bill Scherer Bill.Scherer at VerizonWireless.com
Wed Feb 7 14:15:16 CET 2001


Ben de Luca wrote:
> 
> I want to start a new object and pass an object to it how do i do that?
> 
> if
> 
> def funks(s):
>      do stuff with f
> 
> how do i call def in a new thread and send it args s


import thread

thread.start_new_thread(funk, (s))




-- 
William K. Scherer
Sr. Member of Applications Staff - Verizon Wireless
Bill.Scherer_at_VerizonWireless.com




More information about the Python-list mailing list