[Zope] How can I return an object from a python-script

Casey Duncan c.duncan@nlada.org
Tue, 8 Jan 2002 10:19:20 -0500


On Tuesday 08 January 2002 09:31 am, attila.keller@web.de allegedly wrote:
> Hy,
>
> I want to write a python script that have a object-reference of a
> ZopeDB (e.g. a Folder) as return value.
>
> I tried the following inside the folder 'test':
>
> #
> return context.this()
> #

You could simply do 

return context

But I don't think there is any utilitly in that. Describe what you are trying 
to do in more detail.

/---------------------------------------------------\
  Casey Duncan, Sr. Web Developer
  National Legal Aid and Defender Association
  c.duncan@nlada.org
\---------------------------------------------------/