What do I need to read Microsoft Access databases using Python?

后端 未结 12 2214
面向向阳花
面向向阳花 2020-11-27 15:59

How can I access Microsoft Access databases in Python? With SQL?

I\'d prefere a solution that works with Linux, but I could also settle for Windows.

I only r

12条回答
  •  感情败类
    2020-11-27 16:28

    Personally, I have never been able to get MDB Tools (along with related ODBC stuff like unixODBC) to work properly with Python or PHP under Linux, even after numerous attempts. I just tried the instructions in the other answer to this question here and all I got was "Segmentation fault (core dumped)".

    However, I did get the UCanAccess JDBC driver to read both .mdb and .accdb files on Linux from either Jython or CPython+JayDeBeApi. For detailed instructions on how I set it up under Ubuntu 14.04 LTS see my other answer here.

提交回复
热议问题