[Zope] Importing Python Packages
Dennis Allison
allison@sumeru.stanford.EDU
Mon, 14 Jul 2003 05:49:07 -0700 (PDT)
On 14 Jul 2003, Patrick W. Fraley wrote:
> I am having a little problem importing a python package in a script (I
> know it should be a product, but this is just a quick hack I need to get
> running by this afternoon).
>
> How can I get around the security checks when trying to import a python
> package in a python script? I found some references to creating a dummy
> package, but no reference on how to exactly do this or what is
> necessary.
>
Use an External Method or change the security checks in the Script Python
product. For the latter, see the README in the product's code for a
mini How-To. Both approaches require that youhave acces to the Zope code.