DCOracle Need Help

Andreas Jung andreas at andreas-jung.com
Thu Dec 7 10:44:53 EST 2000


On Thu, Dec 07, 2000 at 10:48:32AM -0400, Jose Martin wrote:
> I am trying to use DCOracle on Python 2.0 under Windows or Linux
> but when i try to make my scritp :
> 
> The first line is
> from DCOracle import *

This is not the recommended way to use DCOracle because DCOracle
is a Python package. Instead use the following:

import DCOracle

conn = DCOracle.Connect('my_code/is_bad') 
....

This initializes and imports all neccessary modules you need
for DCOracle. Hope it works !

Cheers,
Andreas




More information about the Python-list mailing list