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

后端 未结 12 2230
面向向阳花
面向向阳花 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:33

    Old question, but I thought I'd post a pypyodbc alternative suggestion for Windows: ADO. Turns out, it's really easy to get at Access databases, Excel spreadsheets and anything else with a modern (as opposed to old-school ODBC) driver via COM.

    Check out the following articles:

    • http://www.mayukhbose.com/python/ado/index.php
    • http://www.markcarter.me.uk/computing/python/ado.html
    • http://www.ecp.cc/ado_examples.shtml

提交回复
热议问题