Can't import tkinker [sic]

A forum for general discussion of the Python programming language.

Can't import tkinker [sic]

Postby pegasis » Wed Jul 16, 2014 8:22 pm

I have Pyhton 2.7.8 64 bit installed on windows 8.1 and the path works.

but I can't import Tkinker, tkinker

Python Intereactive shell says: no module named tkinker

I have been struggling with this for hours

how can i troubleshoot and fix this? load, import tkinker??
Last edited by Mekire on Thu Jul 17, 2014 6:21 am, edited 1 time in total.
Reason: First post lock. Split to new topic.
pegasis
 
Posts: 1
Joined: Wed Jul 16, 2014 6:21 pm

Re: Can't import tkinker [sic]

Postby stranac » Thu Jul 17, 2014 7:28 am

You should only be importing Tkinter.
tkinter is the name of the same module in python 3.
Friendship is magic!

R.I.P. Tracy M. You will be missed.
User avatar
stranac
 
Posts: 1137
Joined: Thu Feb 07, 2013 3:42 pm


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 3 guests