4

By best, I mean most-common, easiest to setup, free. Performance doesn't matter.

Corey Trager
  • 22,649
  • 18
  • 83
  • 121
  • Duplicate: http://stackoverflow.com/questions/289978/whats-the-simplest-way-to-access-mssql-with-python-or-ironpython – S.Lott Mar 01 '09 at 01:01
  • 1
    Related, but not a duplicate, I think. The "from linux" in my question and the "or ironpython" in the other question makes these questions different. I need something I know will work on linux. – Corey Trager Mar 01 '09 at 01:39
  • You may find this topic helpful: [https://stackoverflow.com/questions/289978/whats-the-simplest-way-to-access-mssql-with-python-or-ironpython](https://stackoverflow.com/questions/289978/whats-the-simplest-way-to-access-mssql-with-python-or-ironpython) – Randolpho Mar 01 '09 at 00:36

4 Answers4

3

I decided that pyodbc was the best fit. Very simple, stable, supported:
http://code.google.com/p/pyodbc/

Corey Trager
  • 22,649
  • 18
  • 83
  • 121
2

pymssql, the simple MS SQL Python extension module.

Bill the Lizard
  • 398,270
  • 210
  • 566
  • 880
1

FreeTDS

mluebke
  • 8,588
  • 7
  • 35
  • 31
0

I'm just learning Python myself, but it seems like there are Python libraries that look more like Java JDBC drivers. Google found these articles about SQLObject and cx_Oracle.

duffymo
  • 305,152
  • 44
  • 369
  • 561