Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:: [': 0.04; 'importerror:': 0.07; 'rename': 0.07; 'tkinter': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'modules.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'module': 0.19; 'subject:] ': 0.20; 'import': 0.22; 'header:User-Agent:1': 0.23; 'regardless': 0.24; 'skip:" 20': 0.27; 'header:X-Complaints-To:1': 0.27; 'header :In-Reply-To:1': 0.27; 'dec': 0.30; 'file:': 0.31; 'jean': 0.31; 'file': 0.32; '(most': 0.33; 'should': 0.36; 'to:addr:python- list': 0.38; 'files': 0.38; 'recent': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'seldom': 0.84; 'shadow': 0.84; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dave Angel Subject: Re: [newbie] struggling wth tkinter Date: Sun, 08 Dec 2013 09:16:25 -0500 References: <40121057-3c98-4f50-84b3-fd320fe2cedc@googlegroups.com> <3d9e313c-958f-4532-b968-0aee7f849246@googlegroups.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: dpc6744208068.direcpc.com In-Reply-To: <3d9e313c-958f-4532-b968-0aee7f849246@googlegroups.com> User-Agent: Groundhog Newsreader for Android X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1386512136 news.xs4all.nl 2964 [2001:888:2000:d::a6]:56306 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:61293 On Sat, 7 Dec 2013 23:45:06 -0800 (PST), Jean Dubois wrote: > This is what I get: > Traceback (most recent call last): > File "./feet2meters.py", line 2, in > from tkinter import * > File "/home/jean/tkinter.py", line 2, in > 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