[Zope] Accessing object properties from __init__.py

Ajay Deshpande riffenstein at gmail.com
Tue Sep 29 02:08:28 EDT 2009


That is correct. I need to access object properties.

Thanks,
A

On Tue, Sep 29, 2009 at 11:33 AM, <zopyxfilter at gmail.com> wrote:

> Am 29.09.09 08:00, schrieb Andrew Milton:
> > +-------[ Ajay Deshpande ]----------------------
> > | Hi All:
> > |
> > | I would like to access a certain property of an object from the
> __init__.py of
> > | my Products folder. Is this possible?
> >
> > To get to it from inside Product code you can import the object
> >
> > from Products.MyProduct import SomeExportedObject
> >
> The question was about an object (instance), not about a class.
>
> Andreas
>



-- 
"And the trees are all kept equal
By hatchet, axe, and saw"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20090929/7afe6166/attachment.html 


More information about the Zope mailing list