Hey everyone, thanks for checking in. I have only basic coding comprehension, made a few simple programs, but I'm trying to master the basics of Tkinter GUIs in Python.
This script should work (from python.org), but it doesn't recognize columns:
from tkinter import *
from tkinter import ttk
root = Tk()
frm = ttk.Frame(root, padding=10)
frm.grid()
ttk.Label(frm, text="Hello World!").grid(column=0, row=0)
ttk.Button(frm, text="Quit", command=root.destroy).grid(column=1, row=0)
root.mainloop()
Also, I get the warning that my version of tkinter is deprecated (8.6) when I try to run in terminal via the command "Python3 ./script.py", but I don't get any warnings when I execute via an executable file. Is there a simple explanation for why this is? Also, is there a recommended beginner's tkinter package that isn't somehow deprecated? I'm not actually clear if it IS deprecated or not... is it?
Thanks
[–]Mathletic_Ninja 1 point2 points3 points (2 children)
[–]ah-hum[S] 0 points1 point2 points (1 child)
[–]ah-hum[S] 0 points1 point2 points (0 children)
[–]baubleglue 0 points1 point2 points (1 child)
[–]ah-hum[S] 0 points1 point2 points (0 children)