> ....
> 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
> ....
From your original post I only changed the she-bang line
from python to python3 ....
#!/usr/bin/env python3
and the import lines remained
as you originally posted
which are appropriate for python3 ....
from tkinter import *
from tkinter import ttk
The traceback above shows an import statement
that is different from the one you originally posted
which would be ok in python2 but not python3 ....
import Tkinter as tk
--
Stanley C. Kitching
Human Being
Phoenix, Arizona
--
https://mail.python.org/mailman/listinfo/python-list