Re: use of cx_oracle adapter from within python script ?
"Dieter Maurer" <[email protected]> Fri, 16 Nov 2007 19:39:33 +0100
| Newsgroups | gmane.comp.web.zope.database |
|---|---|
| Message-ID | <[email protected]> |
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