-----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 [EMAIL PROTECTED] 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----- _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )