I have been wanting to know how to make a GUI without using a module on Python, I have looked into GUI's in Python but everything leads to Tkinter or other Python GUI modules. The reason I do not want to use Tkinter is because I want to understand how to do it myself. I have looked at the Tkinter modules files but it imports like 4 other Modules.
I don't mind the modules like system, os or math just not modules which I will use and not understand. If you do decide to answer my question please include as much detail and information on the matter. Thanks -- Darrian Penman
You cannot write a GUI in Python without importing either a GUI module or importing ctypes.  The latter would require calling OS-specific graphics primitives, and would be far worse than doing the same thing in C.  (EDIT: see Roland comment below for X11 systems.)
The python-coded tkinter mainly imports the C-coded _tkinter, which interfaces to the tcl- and C- coded tk GUI package.  There are separate versions of tcl/tk for Windows, *nix, and MacOS.
Python - How do I make a window along with widgets without using modules like Tkinter?