The 'root.mainloop()' in Tkinter causes an AttributeError The 'root.mainloop()' in Tkinter causes an AttributeError tkinter tkinter

The 'root.mainloop()' in Tkinter causes an AttributeError


You should replace :

root.mainLoop()

with

root.mainloop()

all in small case letters.