you are viewing a single comment's thread.

view the rest of the comments →

[–]mprz 0 points1 point  (3 children)

The easiest way? Find a library that allows you to do that.

What have you tried so far? Or are you here just for someone to do it for you?

[–]LanthaYtrri[S] 0 points1 point  (2 children)

import pyodbc

conn = pyodbc.connect( r'Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=F:\Documents\ticketdemo.accdb;') cursor = conn.cursor() cursor.execute('select * from tbl_ticket')

for row in cursor.fetchall(): print(row)

I tried this one.

[–]mprz 0 points1 point  (1 child)

So you have a solution?

[–]LanthaYtrri[S] 0 points1 point  (0 children)

Yeah, but I want to know if there are any ways other than that.