I quote the python 3.0 documentation: "If the subclass overrides the constructor, it must make sure to invoke the base class constructor (Thread.__init__()) before doing anything else to the thread." So I think you should start your class like this
class UpdateLabels(Thread):#activates in main...did not work?
def __init__(self):
Thread.__init__(self)
global XPOS
global YPOS
Also, I don't understand your method _initialize . I don't think you need it.
Gribouillis
Posting Maven
2,786 posts since Jul 2008
Reputation Points: 1,044
Solved Threads: 691
Using
class UpdateLabels(threading.Thread):
should work too.
Ene Uran
Posting Virtuoso
1,723 posts since Aug 2005
Reputation Points: 625
Solved Threads: 213