Tkinter doesnt contain any tk attribute.
import tkinter window = tkinter.Tk() win.mainloop()
While running this code it gives me an error
Try copying the file to the Python path in C drive (in my case)
And the folder should not contain any other file named Tkinter.py or similar for Code click here