Varia's website
https://varia.zone
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
224 B
10 lines
224 B
4 days ago
|
""" Find compiled module linking to Tcl / Tk libraries
|
||
|
"""
|
||
|
import sys
|
||
|
from tkinter import _tkinter as tk
|
||
|
|
||
|
if hasattr(sys, "pypy_find_executable"):
|
||
|
TKINTER_LIB = tk.tklib_cffi.__file__
|
||
|
else:
|
||
|
TKINTER_LIB = tk.__file__
|