def click_me(self): self.action.configure(text='Hello ' + self.name.get()) bq.write_to_scrol(self) sleep(2) html_data = url.get_html() print(html_data) self.scrol.insert(tk.INSERT, html_data)
def click_me(self): self.action.configure(text='Hello ' + self.name.get()) print(self) # self.create_thread() # now called from imported module bq.write_to_scrol(self)