Native ODBC access for python on linux?

callmebill at gmail.com callmebill at gmail.com
Fri Jul 15 16:27:28 EDT 2005


I know... I'm expecting pain, and when that pain doesn't arrive I
assume that I did something wrong.

Actually, I was using the odbc/dbi stuff that ships with the win32
distribution for my windows work, and using MySQLdb for my linux work.
Most of the code is the same.  But I suppose the big benefit of using
MySQLdb on both (which certainly works) is that there is no abiguity as
to what the user is running for an OS.  You don't have a special case
"If you're on Windows, do this;  if you're on linux, do that"...
Rather, by having everyone indiscriminately require MySQLdb, then that
forces a unity.  That's probably the way to go, huh?




More information about the Python-list mailing list