tkinter | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

tkinter

How to use tkinter?? there is some error

3rd Jun 2019, 11:35 AM
thexplore
thexplore - avatar
3 Answers
+ 2
You have to import tkinter module like this : from tkinter import * Then, you can create a main window : window = Tk() window.mainloop() Then, read the doc!
3rd Jun 2019, 11:37 AM
Théophile
Théophile - avatar
+ 4
Tkinter doesn't work on Sololearn.
3rd Jun 2019, 11:53 AM
HonFu
HonFu - avatar
+ 2
Right HonFu!
3rd Jun 2019, 12:01 PM
Théophile
Théophile - avatar