Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,154,639 members, 7,823,809 topics. Date: Friday, 10 May 2024 at 03:47 PM

Help With This Problem - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Help With This Problem (805 Views)

Who Can Solve This Problem Using Java / How Do I Solve This Problem On Html And Css? / PHP Guys Please Help Me Solve This Problem (2) (3) (4)

(1) (Reply)

Help With This Problem by desy24444(m): 5:25am On Aug 25, 2015
Hi every one, I get an error message wen I try to import tkinter on python27 in my windows system. I have tried everytin I know and its nt working.pls guy, I nid u pples help as soon as possible. This is the specific message:
Traceback (most recent call last):
File "<pyshell#0>",line 1, in <module>
From tkinter import *
Importerror: No module named tkinter
Re: Help With This Problem by Nobody: 6:13am On Aug 25, 2015
In python 2, the ttinker module was uppercase, in 3 and above it was changed to lowercase.
So you should use Ttkinker with a capital T.
Try:

from Tkinter import *

1 Like

Re: Help With This Problem by desy24444(m): 9:38am On Aug 25, 2015
Karmanaut:
In python 2, the ttinker module was uppercase, in 3 and above it was changed to lowercase.
So you should use Ttkinker with a capital T.
Try:

from Tkinter import *
Thank you boss.it worked

1 Like

(1) (Reply)

Nigeria C/C++ Programmers And Architects, Meet Here / Ponzi Script Sales And Website Development At A Affordable Price. / Contract Etiquette #3: KISS Principle.

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 6
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.