Can't Pickle _tkinter.tkapp Objects Error When Trying To Create Multiple Instances Of The Same Class
I'm becoming really frustrated because of this problem. I had it before and i fixed it, but it came back again when i changed something in my code. To be precise i'm trying to crea
Solution 1:
Tkinter widgets and canvas items are just thin wrappers around objects that exist in an embedded tcl interpreter. You can't use deepcopy
or pickle
to create multiple instances because those commands know nothing about the embedded tcl interpreter. If you need multiple instances, you must call the appropriate tkinter functions.
Post a Comment for "Can't Pickle _tkinter.tkapp Objects Error When Trying To Create Multiple Instances Of The Same Class"