[Zope] Re: [zope 2.7-2.8] Howt to alow import module in Python script

Tres Seaver tseaver at palladion.com
Tue Jan 2 10:34:47 EST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mihamina Rakotomandimby wrote:
> Hi,
> As far as I know, if I want to use/import a module (let's say urllib*)
> in a Python Script (the restricted ones), I have to use external methods
> and then use it in the Python script.
> I remember I saw in a zope related Mailing List (CPS, Plone, Zope...) I
> cant list somewhere the modules I want to be loadable from restricted
> Python script.
> Would you remind me the place I could do it please?
> 
> Thank you.
> I mostly need urllib, ftplib, re, HTMLParser,...

See Products/PythonScripts/module_access_examples.py


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFmnuX+gerLs4ltQ4RAnSGAJ9yB8A4cRBL4BnDRIeOn3Ydqp9KogCgw4td
71JTMOYxAam8oz46BobLVI4=
=bTDc
-----END PGP SIGNATURE-----



More information about the Zope mailing list