[Zope3-Users] Getting SOFTWARE_HOME

2006-07-22 Thread David Pratt
Can someone advise how get a handle of SOFTWARE_HOME on a running zope3 instance. Many thanks. Regards, David ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Getting SOFTWARE_HOME

2006-07-22 Thread Darryl Cousins
Hi David, Just for the record (because I know what you are getting at) I found this in zope/i18n/locales/tests: import os import zope.i18n locale_data = os.os.path.join(os.path.dirname(zope.i18n.__file__), 'locales', 'data') which does the job. Best regards, Darryl On Sat, 2006-07-22 at