[Zope] Global constants in Zope

Andy McKay andy@agmweb.ca
Fri, 6 Sep 2002 10:09:21 -0700


You can import into Script Python objects, just fiddle with the permissions
as outlined in the Script Python documents and then import your constants.
--
  Andy McKay
  Agmweb Consulting
  http://www.agmweb.ca


----- Original Message -----
From: "Borislav" <borislavd@gmx.net>
To: "zope" <zope@zope.org>
Sent: Friday, September 06, 2002 9:27 AM
Subject: [Zope] Global constants in Zope


> I'd like to define global constants for my web application built with
> Zope but I'm not sure in what kind of object to define them. Is there
> any way to import an external python module in scripts, ZPTs, etc?
> Are there alternative approaches?
>
> Thanks in advance.
>
> --Borislav
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>