I need to be able to read a data structure from a file and use it in another product. But the FS path of this file has to be a property. And I need to do the reading just once, which is why I want to do it in __init__.py.
Thanks,
A
Am 29.09.09 07:55, schrieb Ajay Deshpande:
> Hi All:What is the usecase?
>
> I would like to access a certain property of an object from the
> __init__.py of my Products folder. Is this possible?
The initialize() method of the Product code get the 'context' parameter
during the startup phase.
Not sure that you are able to proceed from that.
-aj