python 3 catch on tkinter import