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]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to