Tkinter “module not callable” error.

in Python
Python Tutorials
1 Answers to this question

Tk() is referred to as a module but not a method. Hence, you will need to call the Tk() method from the Tkinter module.

import Tkinter as tk

root = tk.Tk()

If you want to unleash your potential in this competitive field, please visit the Python Training Certification page for more information, where you can find the       and    Python Interview Questions FAQ's and answers    as well.

For more updates on the latest courses stay tuned to HKR Trainings.

To Top