Re: [Zope3-Users] Find the zope3 instance home directory (or the /var directory)

2007-11-07 Thread Jim Fulton
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

Re: [Zope3-Users] Find the zope3 instance home directory (or the /var directory)

2007-11-07 Thread Jim Washington
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: > >>

Re: [Zope3-Users] Find the zope3 instance home directory (or the /var directory)

2007-11-06 Thread Stefan H. Holek
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