[Zope] RE: [Plone-users] How can you make python library available in python script

Peter Millar peter.millar at parasyn.com.au
Thu Aug 5 19:40:27 EDT 2004


Okay just found this article

http://www.zope.org/Members/pbrunet/ExternalMethodsBasicSummary

Seems like only a subset of the std python library is avail through
scripts and it is recommended to use external methods ... I will try
that.

____________________________________________ 
Peter Millar 


-----Original Message-----
From: plone-users-admin at lists.sourceforge.net
[mailto:plone-users-admin at lists.sourceforge.net] On Behalf Of Peter
Millar
Sent: Friday, 6 August 2004 9:36 AM
To: plone-users at lists.sourceforge.net; zope at zope.org
Subject: [Plone-users] How can you make python library available in
python script


Sorry for the multi post first of all . 

In
http://plone.org/Members/runyaga/presentations/OSCOM/workshop/oscom.html
it says "Exposing existing python libraries is trivial." and 
"Zope and CMF provide the services that Plone consumes. What does this
mean for a developer? 
*	any/all libraries (thousands) available to Python are usable by
Plone"

But there is no documentation anywhere saying how this can be done . for
instance I go to the web and find a great charting library pychart or
chartdirector.  How can I add it so that it is available in python
script.  Please don't respond by saying use ZGDCHART because Ihave tried
this also and cannot get it to install either.  I would prefer to learn
how to add a library to zope . it can't be that hard. I have
searched(google and the mailing lists) and found that if I put the
library in my plone\python\lib\site-packages directory but once I do
that I am not sure how to reference the library classes from the python
script . I have tried doing an import but I keep getting import of
<package name> is unauthorised.  
Any suggestions or help or  suggestions for other things to google would
be most appreciative.

Thanks in advance.

____________________________________________ 
Peter Millar 




-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Plone-users mailing list
Plone-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-users



More information about the Zope mailing list