[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-db-sig
Subject:    [DB-SIG] DCOracle question
From:       j.andrusaitis () konts ! lv (=?ISO-8859-1?B?SudrYWJzIEFuZHJ18GFpdGlz?=)
Date:       2000-05-25 9:13:39
Message-ID: 000101bfc629$84660320$262a949f () konts ! lv
[Download RAW message or body]

You should import DCOracle module (which wraps all the
different modules under one roof).

import DCOracle

dbc= DCOracle.Connect('username/password@tnsname')
cur= dbc.cursor()

I think that problem with your code was importing oci_ directly.

Jekabs Andrušaitis
Sistemu analitikis
Tieto Konts Financial Systems
Kr.Barona 30, Riga, LV-1011, Latvia
tel.: (371) 7286660, (371) 7283689
fax: (371) 7243000
e-mail: J.Andrusaitis@konts.lv
http://www.konts.lv



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic