I'm having trouble connecting my python program to my access database relatively. My python file and database are stored in the same file however as I need to use the code on different pcs the file directory wont be the same
conn = pyodbc.connect(r'Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=C:\Folder\Database.accdb;')
My python file is also stored in the 'Folder' Folder however I'm just being told it is not a valid path