Where Can I Find The Source Code For The _tkinter Module?
According to the Python 3 documentation, Chapter 25.1: tkinter - Python interface to Tcl/Tk: The Tk interface is located in a binary module named _tkinter. This module contains
Solution 1:
Solution 2:
Check also this answer here which is related to your problem and gives this source (https://hg.python.org/cpython/file/3.6/) from python.org.
How did I get there? In python,
>>> import _tkinter
>>> _tkinter.__file__
'/usr/lib/python2.7/lib-dynload/_tkinter.so'
Then in Google: "Python lib-dynload source".
Post a Comment for "Where Can I Find The Source Code For The _tkinter Module?"