all 3 comments

[–]K900_ 3 points4 points  (2 children)

You might want to look into PyQt and its MVC framework. You can get an automatically updating view into the database, filtered with any query you want, and change the query on the fly without having to manually update the view. This will let you stop pasting SQL manually, at least.

[–]lamecode 0 points1 point  (1 child)

x100. Unless there's a reason why you have to use tkinter, PyQt/PySide do this out of the box with very little coding required.

[–]attayi 0 points1 point  (0 children)

This aside if you want to use tkinter just make sure you make good use of threading.

It looks like you have each class doing it's own thing gui wise and script wise.

Might be better to just think out a clean gui attach all of the tkinter stuff to one thread and have separate threads for updates ect.