I'm new to Python. I'd like to load same data from an Access Table into a window created by Tkinter.
The code I'm using to extract data is this
import pyodbc
conn = pyodbc.connect(r'Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=<path to database>.ACCDB;')
cursor = conn.cursor()
cursor.execute('select * from <table>')
for row in cursor.fetchall():
print (row)
that of course is good just to extract data from the table So my question is: how can I import an Access table in Python and show in a Tkinter window? Thank you for helping Regards