how to import tkinter as tk code example
Example: How to import tkinter in python
# only works in Python 2.x
import Tkinter
# only works in Python 3.x
import tkinter
# only works in Python 2.x
import Tkinter
# only works in Python 3.x
import tkinter