I haven't tried it myself but as long as Python can call the ODBC driver (or Btrieve API if you're really adventurous), there shouldn't be a problem from the Pervasvie side.
Got a little curious so I downloaded ActivePython and tried it. The following very simple sample worked for me with PSQL v10.10:
Code:
import dbi
import odbc
Con = odbc.odbc('DEMODATA')
Cursor = Con.cursor()
Cursor.execute("select id, name from class")
Results = Cursor.fetchall()
for Data in Results:
print str(Data[0]) + "." + Data[1]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.