You should use Tkinter
(tkinter
if you use Python 3.x), not _tkinter
:
import Tkinter as tk
According to Tkinter module documentation:
... The Tk interface is located in a binary module named
_tkinter
. This module contains the low-level interface to Tk, and should never be used directly by application programmers.