I\'m trying to make a simple outline for a gui, and I\'m getting the warning \"variable\" May be undefined or defined from star imports: tkinter for all of my variables.
Consider using:
import tkinter as tk
and then, prefix all your calls like:
root = tk.Tk()
or,
variableName.pack(side = tk.LEFT)
and so on...
from tkinter import *
In this line, you import everything from tkinter
. This is not recommended, so linter will warn you. But if you really want to do this, it's OK, just ignore it.
To be better, you should explicitly import what you need. For example:
from tkinter import Tk, Label, Frame, Entry, Button