Is it possible to share a Tkinter widget using the shelve module?
For example:
from tkinter import *
import shelve
tk = Tk()
with shelve.open("store") as holder:
holder["tk"] = tk
Is it possible to share a Tkinter widget using the shelve module?
For example:
from tkinter import *
import shelve
tk = Tk()
with shelve.open("store") as holder:
holder["tk"] = tk
Copyright © 2021 Jogjafile Inc.
I don't think it will work. From the
shelvedocumentation:You can't store tkinter objects with pickle.