The program:
from tkinter import *
root = Tk()
canvas = Canvas(root)
canvas.pack()
root.mainloop()
error for this program:
c:/Users/ADMIN/Desktop/python/tkinter.py
Traceback (most recent call last):
File "c:\Users\ADMIN\Desktop\python\tkinter.py", line 1, in <module>
from tkinter import *
File "c:\Users\ADMIN\Desktop\python\tkinter.py", line 3, in <module>
root = Tk()
NameError: name 'Tk' is not defined
is the problem I am still facing in my computer. please help me to rectify this error