diff --git a/tkinter_fix.py b/tkinter_fix.py index 38d99d8..5f809a9 100644 --- a/tkinter_fix.py +++ b/tkinter_fix.py @@ -1,3 +1,6 @@ +import os +os.environ.setdefault('TK_SILENCE_DEPRECATION', '1') + import tkinter # Only needs to be imported once at the beginning of the application