threading problem..

Abandoned besturk at gmail.com
Thu Oct 25 17:00:37 EDT 2007


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