August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!
class InsertData(wx.Frame): def __init__(self, parent, id, title): wx.Frame.__init__(self, parent, id, title, size=(990,668),style=wx.DEFAULT_FRAME_STYLE|wx.WS_EX_CONTEXTHELP) self.Bind(wx.EVT_CLOSE, self.OnClose) def populate(self): do something class ThreadClass(threading.Thread,InsertData): def run(self): do_something once_done self.repopulate() def repopulate(self): InsertData.populate print "done" ThreadClass().start()
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.