tags:

views:

128

answers:

5

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

A: 

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
+2  A: 

pymssql, the simple MS SQL Python extension module.

Bill the Lizard
+3  A: 

You may find this topic helpful:

http://stackoverflow.com/questions/289978/whats-the-simplest-way-to-access-mssql-with-python-or-ironpython

Randolpho
The best answer for the other question is SQLAlchemy, an ORM layer. Yikes, I just want to run a couple of insert statements from a little python script. I don't need an ORM layer for that.
Corey Trager
Maybe you do, but don't know it yet. Don't build too much technical debt on your first iteration.
Randolpho
A: 

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

Corey Trager
+1  A: 

FreeTDS

mluebke