i am python newbie,i try to connect to db2 use python,i find it on
python-db2 doc:
$ python
import DB2
conn = DB2.connect(dsn='sample', uid='db2inst1', pwd='ibmdb2')
curs = conn.cursor()
but i don't know about dsn,
i think a way like python connect to mysql :
db=_mysql.connect("localhost","joebob","moonpie"," thangs")
anyone can help me ?
thank you