python-tk@3.14

Python 3.14 interface to Tcl/Tk for GUI development

brewmacoslinux
Try with needOr install directly
Source

About

Python interface to Tcl/Tk

Commands

python3.14

Examples

Create a simple Tkinter window$ python3.14 -c "import tkinter as tk; root = tk.Tk(); root.title('Hello'); root.geometry('300x200'); tk.Label(root, text='Hello Tk!').pack(); root.mainloop()"
Check if Tkinter is properly installed$ python3.14 -m tkinter
Run a Tkinter script file$ python3.14 gui_app.py