Luke Opperman wrote:

(...)
If you don't really need them to persist, then just make sure they are
initialized somewhere in your code (awake, or perhaps contextInitialize).
However, style-wise there are better ways to do this for non-persistent data
in python, such as module-level singletons.

incidentaly your reply answers to my recent message "so you want configuration files".


this boils down to:
* write a little module to load app info from a config file and
* import such module in the servlet hierarchy.
* from the servlet access configuration params with modulename.configuration['key'].


nice.

later,
deelan









-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to