[Zope] Newbie Question on using External Python Library
Maik Jablonski
maik.jablonski@uni-bielefeld.de
Fri, 16 Aug 2002 17:58:34 +0200
hi,
read: yourZOPE/lib/python/Products/PythonScripts/README.txt
maybe you should use an external method for that.
cheers, maik
working4aliving wrote:
> I have a python script that I run that checks the status of lpc
> printers on remote solaris boxes using python's telnetlib.
> I'm trying to get this to run under zope... and I'm getting the nasty
> authorization message that is supposed to happen.
> Can I get to this library from within Zope? I tried to add telnetlib
> as an external method... but to no avail. It's looking for an
> argument such as (Oh heck, I'm not in front of it right now). I was
> hoping I could.
> a) Get this to work / work around the problem. (I've tried an external
> method, but the class TELNET
> doesn't have an "func_default" attrib (I'm lost).
>
> or
> b) Just use an html page with the python script. (exec problem???)
>
>
> Do I have access to the "wealth" of python libraries from within Zope
> that I'm coming to know and love ? or not :<( ?
>
> Thanx in advance for anyone's help.
>
>
--
Maik Jablonski __o
www.zfl.uni-bielefeld.de _ \<_ Deutsche Zope User Group
Bielefeld, Germany (_)/(_) www.dzug.org