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 > > <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
Thank you Dave, this made it work under python3 too. I also had to remove tkinter.pyc kind regards, jean -- https://mail.python.org/mailman/listinfo/python-list