Hi
The code below works when I execute it with idle or in CLI but when I execute it with vscode, I have the message "NameError: name 'Tk' is not defined"
from tkinter import *
fenetre = Tk()
The name of my py file is well different than "tkinter.py"
What is wrong please?
The code below works when I execute it with idle or in CLI but when I execute it with vscode, I have the message "NameError: name 'Tk' is not defined"
from tkinter import *
fenetre = Tk()
The name of my py file is well different than "tkinter.py"
What is wrong please?
buran write Jan-08-2022, 08:28 AM:
Please, use proper tags when post code, traceback, output, etc.
See BBcode help for more info.
Please, use proper tags when post code, traceback, output, etc.
See BBcode help for more info.