Python/Tkinter data collection framework