Can Python adodbapi be used to connect to a paradox db? If yes what would the connection string look like?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, that depends on the Paradox ADODB driver you have installed in your windows.
Examples:
For Paradox 5.x, using Microsoft Jet OLEDB 4.0 driver:
For Paradox 5.x, using Microsoft’s Paradox ODBC Driver:
For Paradox 7.x, using Microsoft’s Paradox ODBC Driver:
Since you’re probably going to use the ODBC driver anyway I strongly suggest you use pyodbc instead. It seems better supported than adodbapi and is also cross-platform.
Remember that you must point to the folder containing the .db files, not to the .db itself.