Accessing Oracle width Python

Nuno Goncalves nuno at rccn.net
Tue Oct 31 15:40:04 EST 2000


Hi there ! I'm trying to access an Oracle database with python !

when i do a connect all goes ok:
---------------------------------------
import Buffer, oci_, sys

def escreve():
        print "Connecting..."
        dbc=oci_.Connect("string")
--------------------------------

But when i do a close it gives me the following error:
dbc.close()

close unknow attribute

isn't a method ???

please appologiese me because i am a newby

thanks and best regards
Nuno





More information about the Python-list mailing list