V
V
Vadim)))2021-10-10 10:00:03
Python
Vadim))), 2021-10-10 10:00:03

Why doesn't Python tkinter Tk start?

Wrote code:

from tkinter import *

fl_root = Tk()
fl_root.title("FruityLoops")


I write in Sublime Studio 3, I press Ctrl + B, it does not start. Doesn't throw an error, but won't run. Tried to run directly through the command line, the same thing.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Angope, 2021-10-10
@VadimCoder

You need to run a loop:
from tkinter import *
fl_root = Tk()
fl_root.title("FruityLoops")
fl_root.mainloop()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question