-1

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
  • 19
  • 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
  • 152,115
  • 15
  • 115
  • 172
Bryan Oakley
  • 370,779
  • 53
  • 539
  • 685