Abandoned schrieb: > 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 :(
that you have an attribute join on you SelectAll-objects that shadows the Thread.join Diez -- http://mail.python.org/mailman/listinfo/python-list