Using wx.CallLater in wxPython
问题 I'm trying to make an object that handles basic time related functions. I want it so when any of the attributes (e.g. self.Time ) are referenced they are up to date. However, for some reason wx.CallLater(1000, self.Tick) doesn't seem to be updating the attributes. It will only print self.Time once, as opposed to every second (like I want it to). How would I go about getting the behavior I desire? Should I use something besides wx.CallLater(1000, self.Tick) ? Snippet : import wx, re, time,