How to connnect to scidb via python


(received via pm: probably intended as a forum post)

Sent: Sun Sep 30, 2012 1:18 am
From: Xianmang
To: danielw
Hi, experts! I tried to connet to the SciDB server and execute commands.

The contend of the file :
he@he-p6-1095cn:/opt/scidb/12.3/lib$ cat
import sys
import libscidbclient as scidb
db=scidb.connect(“localhost”, 1239)
print result

and the error is :

he@he-p6-1095cn:/opt/scidb/12.3/lib$ python
Traceback (most recent call last):
File “”, line 3, in
import libscidbclient as scidb

ImportError: dynamic module does not define init function (initlibscidbclient)

thanks !