[Zope-DB] use of cx_oracle adapter from within python script ?

Dieter Maurer dieter at handshake.de
Fri Nov 16 13:39:33 EST 2007


banaouas wrote at 2007-11-16 07:15 -0800:
>I know there is many restrictions when writing python scripts.

Only "Script (Python)" and derived classes are restricted.

Python in normal Python modules/packages or "External Method"s are
not restricted.

>But is it possible to access to oracle (import cx_Oracle) from python
>script, avoiding to build a ZSQL method for each different query ?

I doubt that this will be able with "Script (Python)" alone.



-- 
Dieter


More information about the Zope-DB mailing list