[Zope] Re: adding a python library
David Bear
David.Bear at asu.edu
Tue Nov 14 11:32:38 EST 2006
On Mon, Nov 13, 2006 at 08:32:11PM -0500, Tres Seaver wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> David Bear wrote:
> > I would like to add Mark Pilgrims feedparser to the available modules
> > that I can use in zope. I have installed the feedparser into the
> > python instance that zope uses. However, when I attempt to import it,
> > I get an error that I'm not authorized. How might I make the
> > feedparser available to zope?
>
> Check the examples in
> $SOFTWARE_HOME/lib/python/Products/PythonScripts/module_access_examples.py
>
Thanks. This seems straightforward. However, I am now rethinking this.
What if I created a zope script and just pasted the feedparser.py
modules contents into it. Do python scripts that live inside zodb
become importatable?
>
> Tres.
> - --
> ===================================================================
> Tres Seaver +1 202-558-7113 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
>
> iD8DBQFFWRyb+gerLs4ltQ4RAkJYAKCOkGX3CKz+aNTvhtRTHdk8FAzPlgCgkk29
> xt7g8f92Lo6zOjLG4w/yYH4=
> =71Qs
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Zope maillist - Zope at 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 )
--
David Bear
phone: 602-496-0424
fax: 602-496-0955
College of Public Programs/ASU
University Center Rm 622
411 N Central
Phoenix, AZ 85007-0685
"Beware the IP portfolio, everyone will be suspect of trespassing"
More information about the Zope
mailing list