I'm doing some tutorials trying to teach myself a little Python. I found one on GUI development using TCL/TK. This code works and displays a dialog...
import tkinter
import _tkinter
tkinter._test()
This code does not...
from tkinter import *
from tkinter import ttk
root = Tk()
label = ttk.Label(root, text='Hello World')
label.pack()
I'm pretty sure my problem is with setting up Visual Studio Code. Have any of you run into this? I don't know anyone who does Gui programming in Python and only a couple who use Visual Studio Code. Python 3 and TCL/TK are installed though or the first example would not have worked.