_tkinter_finder.py 224 B

123456789
  1. """ Find compiled module linking to Tcl / Tk libraries
  2. """
  3. import sys
  4. from tkinter import _tkinter as tk
  5. if hasattr(sys, "pypy_find_executable"):
  6. TKINTER_LIB = tk.tklib_cffi.__file__
  7. else:
  8. TKINTER_LIB = tk.__file__