[Zope] Newbie Question on using External Python Library

working4aliving working4aliving@hotmail.com
Fri, 16 Aug 2002 12:05:29 -0400


Thanks Maik, sorry I didn't read that first. :<( my bad.
I'll let you know.


----- Original Message ----- 
From: "Maik Jablonski" <maik.jablonski@uni-bielefeld.de>
To: "working4aliving" <working4aliving@hotmail.com>
Cc: <zope@zope.org>
Sent: Friday, August 16, 2002 11:58 AM
Subject: Re: [Zope] Newbie Question on using External Python Library


> 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
> 
>