0

I'm working on creating an interface between tkinter and JSON. I need to look through the code of Tkapp to do so because I need to understand its attributes. Failing that, how can I import it?

from tkinter import _tkinter
from _tkinter import tkapp

Returns an ImportError

SMC-242
  • 21
  • 1
  • Does this answer your question? [Install tkinter for Python](https://stackoverflow.com/questions/4783810/install-tkinter-for-python) – stovfl Feb 18 '20 at 16:01

1 Answers1

0

_tkinter is a C-based module. tkapp is defined in its source code which you can find here on GitHub.

AKX
  • 123,782
  • 12
  • 99
  • 138
Bryan Oakley
  • 341,422
  • 46
  • 489
  • 636