[newbie] struggling wth tkinter

Dave Angel davea at davea.name
Sun Dec 8 15:16:25 CET 2013

On Sat, 7 Dec 2013 23:45:06 -0800 (PST), Jean Dubois 
<jeandubois314 at 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:


You very seldom want to have files that can shadow system modules.


More information about the Python-list mailing list