I feel like this is one of those questions that there's something I need to learn before I ask a question that makes sense, yet here we are.
So what's the difference with the code below? I understand the syntaxes changes but anything else? Is it just a matter of preference or what?
example 1:
import tkinter as tk
root = tk.Tk()
myLabel = tk.Label(root, text="Automation Panel")
myLabel.pack()
root.mainloop()
example 2:
from tkinter import *
root = tk()
mLabel = Label(root, text="Automation Panel")
myLabel.pack()
root.mainloop()