try:
    from tkinter import Tk, Entry, Label, Button, Scrollbar, Checkbutton,\
                        IntVar, Text, WORD, END, N, S, E, W
except ImportError:
    from Tkinter import Tk, Entry, Label, Button, Scrollbar, Checkbutton,\
                        IntVar, Text, WORD, END, N, S, E, W

try:
    from tkinter import Tk, Entry, Label, Button, Scrollbar, Checkbutton,\
                        IntVar, Text, WORD, CURRENT, END, N, S, E, W
except ImportError:
    from Tkinter import Tk, Entry, Label, Button, Scrollbar, Checkbutton,\
                        IntVar, Text, WORD, CURRENT, END, N, S, E, W

Add needed tkinter imports