How can I make my Tkinter to work with the code I wrote | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I make my Tkinter to work with the code I wrote

programming

5th May 2018, 9:16 PM
Victor Nzube
Victor Nzube - avatar
3 Answers
+ 10
You have to import tkinter. Then build the graphic user interface with it. You can read this tkinter tutorial,there are many examples there -- from simple to more advanced: https://www.python-course.eu/python_tkinter.php
5th May 2018, 9:23 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 1
just type --> import Tkinter #if you use python2 or type --> import tkinter #if you use python3
6th May 2018, 2:00 AM
Abhishek Verma
Abhishek Verma - avatar
+ 1
import tkinter and it working with it depends entirely depends on the code you wrote and how you are outputting the data on the window. check tkinter documentation
6th May 2018, 1:10 PM
Markus Kaleton
Markus Kaleton - avatar