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

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to