All tutorials simply import tkinter,
I am wondering, though, why not import _tkinter? If my understanding is correct, _tkinter is the actual library in cpython and tkinter is the interface or API.
I am simply trying to grasp the paradigm as I read through some of the tkinter source code. It seems there is some python black magic afoot.
tkinterprovides. You'd have to do all that manually if you usedimport _tkinter. Useimport tkinter; print(tkinter.__file__)to find the file. - Novel