|
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2010-04-07 13:18:07
|
On 7/4/10 14:00, Ed Leafe wrote: > On Apr 7, 2010, at 3:53 AM, XXXXXXXXXXX wrote: > >> Thanks Ed. I could lie and say that I was so out-of-touch that I hadn't come across Dabo, but I have to admit that I had forgotten about investigating it several years ago. >> >> I think the main reason I didn't use it was because it didn't support my niche database back end (Pervasive.SQL) via a native driver or ODBC, but I see on the wiki that there might be ODBC support. If I ever head back into Python I'll have to give it a go. > > Is there a Python dbapi module for that? If so, it would be very simple to add support for that database. We abstract the backend-specific stuff, so the only thing that would need to be done is handle the SQL syntax differences. Not for Pervasive.SQL unfortunately. In C and Java I have access via a native interface, but when it comes to Python/Perl or Jython I'm stuck with ODBC or JDBC. My PythonCard applications have either used ODBC via the old DBAPI ODBC Python driver, or I've used ctypes to interface to my C DLL for native access. -- XXXXXXXXXXX |