kinterbas and Python

David Rushby DavidRushby at gmail.com
Wed Apr 5 21:20:26 EDT 2006


Balin wrote:
> Hi all,
> I have some problem with packege kinterbas for Firebird db connection
> this is my code:
>
> import kinterbasdb
>
> class ConnessioneDB:
>     def initialize(self):
>         kinterbasdb.init(concurrency_level=1)
>         con = kinterbasdb.connect(host='192.168.1.20',
> database='/home/db/TEST.FDB', user='SYSDBA', password='masterkey) <--- E

If that's the actual code you're using, presumably you're getting an
error message like:
SyntaxError: EOL while scanning single-quoted string
because there's no closing quote after 'masterkey.

If that's not the actual code, could you post the actual code, the
actual error message, along with the versions of Python, Firebird,
KInterbasDB, and your operating system?




More information about the Python-list mailing list