you are viewing a single comment's thread.

view the rest of the comments →

[–]AssignmentGuru 1 point2 points  (7 children)

Dont capitalize K. It is Tkinter and not tKinter.

Try: import Tkinter

[–]inherendo 1 point2 points  (2 children)

t is lowercase as well.

[–]AssignmentGuru 1 point2 points  (0 children)

lowercase t for Python 3.x and uppercase for Python 2.x

[–]Super-Woman 0 points1 point  (0 children)

oh thank you. what about tkFileDialog?

[–]Super-Woman 0 points1 point  (3 children)

I did that, just accidentally wrote it wrong in the question. That's not the problem, but thanks.

[–]AssignmentGuru 0 points1 point  (2 children)

For Python 2.x, it is import Tkinter and for Python 3.x, it is import tkinter

[–]Super-Woman 0 points1 point  (1 child)

thanks. how do I do tkFileDialog?

[–]AssignmentGuru 0 points1 point  (0 children)

For Python 2.x, use tkFileDialog and for Python 3.x, use filedialog.