Re: [Zope] How to create a global variable?

2007-02-22 Thread Paul Winkler
On Thu, Feb 22, 2007 at 11:50:51AM +0100, jerome prudent wrote: > Hi! > I've a python script which creates a dictionnary each time it's called. This > dictionnary is always the same. I would increase the performance if I could > generate and cache the dictionnary once, then reuse it. I'm looking fo

Re: [Zope] How to create a global variable?

2007-02-22 Thread jerome prudent
Ok, Thank you! 2007/2/22, Jonathan <[EMAIL PROTECTED]>: - Original Message - From: jerome prudent To: zope@zope.org Sent: Thursday, February 22, 2007 5:50 AM Subject: [Zope] How to create a global variable? Hi! I've a python script which creates a dictionnary each time

Re: [Zope] How to create a global variable?

2007-02-22 Thread Jonathan
- Original Message - From: jerome prudent To: zope@zope.org Sent: Thursday, February 22, 2007 5:50 AM Subject: [Zope] How to create a global variable? Hi! I've a python script which creates a dictionnary each time it's called. This dictionnary is always the same. I would in

[Zope] How to create a global variable?

2007-02-22 Thread jerome prudent
Hi! I've a python script which creates a dictionnary each time it's called. This dictionnary is always the same. I would increase the performance if I could generate and cache the dictionnary once, then reuse it. I'm looking for a space like REQUEST.SESSION that is the same for each user of my web