mirror of
https://github.com/python/cpython.git
synced 2025-07-19 17:25:54 +00:00
5 lines
186 B
Python
5 lines
186 B
Python
import sys, os, _tkinter
|
|
ver = str(_tkinter.TCL_VERSION)
|
|
v = os.path.join(sys.prefix, "tcl", "tcl"+ver)
|
|
if os.path.exists(os.path.join(v, "init.tcl")):
|
|
os.environ["TCL_LIBRARY"] = v
|