threading problem..
John Nagle
nagle at animats.com
Fri Oct 26 00:41:58 EDT 2007
Tried that on Python 2.5 on Windows and it worked.
John Nagle
Abandoned wrote:
> Hi..
> I want to threading but i have a interesting error..
> ==========
> class SelectAll(threading.Thread):
> def __init__(self, name):
> threading.Thread.__init__(self)
> self.name = name #kelime
>
> def run(self):
> ....
> ....
> self.result=...
> nglist=[]
> current = SelectAll(name)
> nglist.append(current)
> current.start()
> for aaa in nglist:
> aaa.join()
>
> =============
>
> and it gives me this error:
> aaa.join()
>
> AttributeError: 'dict' object has no attribute 'join'
>
>
> What is the problem i can't understand this error :(
>
More information about the Python-list
mailing list