Kinterbase.sh
Aus informatikvs
# ins Benutzer Home-Verzeichnis cd # Arbeitsverzeichnis anlegen mkdir tmp cd tmp wget http://voxel.dl.sourceforge.net/sourceforge/firebird/kinterbasdb-3.3.0.tar.bz2 tar -jxvf kinterbasdb-3.3.0.tar.bz2 cd kinterbasdb-3.3.0/ sudo apt-get install python-dev firebird2.1-dev sudo python setup.py install python -c "import kinterbasdb as k; print k.__version__" cd echo "..fertig!" #import kinterbasdb #con = kinterbasdb.connect(dsn='/var/lib/firebird/2.1/data/employee.fdb', user='sysdba', password='masterkey') # Create a Cursor object that operates in the context of Connection con: #cur = con.cursor() # Execute the SELECT statement: #cur.execute("select * from employee") # Retrieve all rows as a sequence and print that sequence: #print cur.fetchall()