If you run this:
from tkinter import * root = Tk() then everything works. And if so:
import tkinter root = Tk() then writes that the variable Tk is not defined. Why?
If you run this:
from tkinter import * root = Tk() then everything works. And if so:
import tkinter root = Tk() then writes that the variable Tk is not defined. Why?
Source: https://ru.stackoverflow.com/questions/524520/
All Articles