Connecting to MS Access 2007 (.accdb) database using pyodbc
问题 I am on Win7 x64, using Python 2.7.1 x64. I am porting an application I created in VC++ to Python for educational purpouses. The original application has no problem connecting to the MS Access 2007 format DB file by using the following connection string: OleDbConnection^ conn = gcnew OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0; Data Source=|DataDirectory|DB.accdb"); Now, when I try to connect to the same DB file (put in C:\ this time) in Python using pyodbc and the following conenction