Mohamed <allawat...@gmail.com> added the comment:
I tried the following method: class MasterApp(object): def __init__(self, root): .... def fun_astinfo_add(self): ... assetinfo_lst.append(lst_values) ... MasterApp(root) ... if __name__ == "__main__": root = Tk() App = MasterApp(root) root.mainloop() The program works properly, but the screen disappears and then reappears. Which means, that mainloop() works in the first time, and when there is any change in the data, it does not work. Reinstalling Tkinter is the right solution? Will it work? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44076> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com