Python Forum
Fetch records from DB and display on GUI - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: GUI (https://python-forum.io/forum-10.html)
+--- Thread: Fetch records from DB and display on GUI (/thread-22965.html)



Fetch records from DB and display on GUI - hnkrish - Dec-05-2019

I can fetch records from DB and paste in Excel but I want to display on GUI


RE: Fetch records from DB and display on GUI - Denni - Dec-05-2019

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.