On Nov 6, 2007, at 5:02 AM, Eric Bréhault wrote:
Hello,
WIth Zope2, when I need to create or read a file in the filesystem,
I usually go in /myzopeinstance/var directory
and to find it is pretty easy:
import os
os.environ['CLIENT_HOME']
But in Zope3, CLIENT_HOME or INSTANCE_HOME are no lon
Stefan H. Holek wrote:
> I don't think there is any way whatsoever in Zope 3. There is no
> "instance" home to begin with, and the os.pardir hacks don't work
> either because you can't really know where your package is installed.
>
> Stefan
>
>
> On 6. Nov 2007, at 11:02, Eric Br�hault wrote:
>
>>
I don't think there is any way whatsoever in Zope 3. There is no
"instance" home to begin with, and the os.pardir hacks don't work
either because you can't really know where your package is installed.
Stefan
On 6. Nov 2007, at 11:02, Eric Bréhault wrote:
I had a look to different source co