Python Forum
Fetch records from DB and display on GUI
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fetch records from DB and display on GUI
#1
I can fetch records from DB and paste in Excel but I want to display on GUI
Reply
#2
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable fetch fucntion data in class in tkinter jenkins43 2 3,829 Nov-30-2019, 09:47 PM
Last Post: jenkins43
  Display and update the label text which display the serial value jenkins43 5 8,988 Feb-04-2019, 04:36 AM
Last Post: Larz60+
  Display more than one button in GUI to display MPU6000 Sensor readings barry76 4 3,834 Jan-05-2019, 01:48 PM
Last Post: wuf

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020