problems importing ttk from tkinter in python 2.7
In python 2.7, ttk is its own package:
import Tkinter
import ttk
This is documented in the official python documentation: https://docs.python.org/2/library/ttk.html#module-ttk
For python version 2.7, to import all packages:
from Tkinter import *
from ttk import *
Or you can only import ttk.
import ttk
For python version 3, to import all packages:
import tkinter as tk
from tkinter import ttk