The tkinter package ("Tk interface") is the standard Python interface to the Tcl/Tk GUI toolkit.
Check the Tk version, create a file called tk_version.py:
# tk_version.py #file name
import tkinter
print(tkinter.TkVersion)
$ python3 tk_version.py
9.0* Tk - Toolkit
* inter - Interface