Python Forum

Full Version: Fetch records from DB and display on GUI
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I can fetch records from DB and paste in Excel but I want to display on GUI
Okay what Database are you using or do you care -- if you do not care SQLite3 is integrated with Python and fairly easy to use granted it is very light with very few bells and whistles

Next when doing this you should make 3 different Classes. Your standalone Database Class (Model) written in only Python -- and your GUI
(View) written in whatever python GUI you plan on using. Then you have your Controller class which communicates between these 2 other Classes written in whatever works the best for your needs.