I have this in an ExternalMethod and it works fine:

  import MySQLdb
  conn = MySQLdb.Connection(user='xxxx', passwd='yyyyy', db='zzz')

In a PythonMethod, it fails because of the import restriction. What's the
easiest way to get around this. I'm not getting anything out of the
documentation in PythonMethods/ModuleSecurityInfo because it never says
where the code snippets should actually go.

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to