Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #61298
| X-Received | by 10.236.145.34 with SMTP id o22mr4597805yhj.22.1386518027568; Sun, 08 Dec 2013 07:53:47 -0800 (PST) |
|---|---|
| X-Received | by 10.182.53.193 with SMTP id d1mr105371obp.0.1386518027538; Sun, 08 Dec 2013 07:53:47 -0800 (PST) |
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!p15no12897045qaj.0!news-out.google.com!p7ni12778qat.0!nntp.google.com!p15no12897032qaj.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.python |
| Date | Sun, 8 Dec 2013 07:53:47 -0800 (PST) |
| In-Reply-To | <mailman.3730.1386512136.18130.python-list@python.org> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=81.247.137.250; posting-account=-4q5ZAoAAABqYnHiWOUEwtub4CGC9qTi |
| NNTP-Posting-Host | 81.247.137.250 |
| References | <40121057-3c98-4f50-84b3-fd320fe2cedc@googlegroups.com> <l7vp35$dnc$1@dont-email.me> <3d9e313c-958f-4532-b968-0aee7f849246@googlegroups.com> <mailman.3730.1386512136.18130.python-list@python.org> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <f471f1fe-156d-4e56-9684-eabb07fb3dee@googlegroups.com> (permalink) |
| Subject | Re: [newbie] struggling wth tkinter |
| From | Jean Dubois <jeandubois314@gmail.com> |
| Injection-Date | Sun, 08 Dec 2013 15:53:47 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Xref | csiph.com comp.lang.python:61298 |
Show key headers only | View raw
Op zondag 8 december 2013 15:16:25 UTC+1 schreef Dave Angel: > On Sat, 7 Dec 2013 23:45:06 -0800 (PST), Jean Dubois > > <jeandubois314@gmail.com> wrote: > > > This is what I get: > > > Traceback (most recent call last): > > > File "./feet2meters.py", line 2, in <module> > > > from tkinter import * > > > File "/home/jean/tkinter.py", line 2, in <module> > > > import Tkinter as tk > > > ImportError: No module named Tkinter > > > > Regardless of your other fixes, you should rename the bogus file: > > > > /home/jean/tkinter.py > > > > You very seldom want to have files that can shadow system modules. > > > > -- > > DaveA Thank you Dave, this made it work under python3 too. I also had to remove tkinter.pyc kind regards, jean
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[newbie] struggling wth tkinter Jean Dubois <jeandubois314@gmail.com> - 2013-12-07 08:52 -0800
Re: [newbie] struggling wth tkinter Dave Angel <davea@davea.name> - 2013-12-07 13:12 -0500
Re: [newbie] struggling wth tkinter Jean Dubois <jeandubois314@gmail.com> - 2013-12-07 23:40 -0800
Re: [newbie] struggling wth tkinter Chris Angelico <rosuav@gmail.com> - 2013-12-08 18:49 +1100
Re: [newbie] struggling wth tkinter Jean Dubois <jeandubois314@gmail.com> - 2013-12-08 01:15 -0800
Re: [newbie] struggling wth tkinter Cousin Stanley <cousinstanley@gmail.com> - 2013-12-07 11:23 -0700
Re: [newbie] struggling wth tkinter Jean Dubois <jeandubois314@gmail.com> - 2013-12-07 23:45 -0800
Re: [newbie] struggling wth tkinter Dave Angel <davea@davea.name> - 2013-12-08 09:16 -0500
Re: [newbie] struggling wth tkinter Jean Dubois <jeandubois314@gmail.com> - 2013-12-08 07:53 -0800
Re: [newbie] struggling wth tkinter Cousin Stanley <cousinstanley@gmail.com> - 2013-12-08 07:16 -0700
Re: [newbie] struggling wth tkinter Terry Reedy <tjreedy@udel.edu> - 2013-12-07 16:11 -0500
Re: [newbie] struggling wth tkinter Christian Gollwitzer <auriocus@gmx.de> - 2013-12-08 09:10 +0100
Re: [newbie] struggling wth tkinter Jean Dubois <jeandubois314@gmail.com> - 2013-12-08 00:57 -0800
csiph-web