spyce
home
license
community
download
examples
resources
wishlist
contrib (@sf)
documentation
intro
lang
runtime
modules
tags
install
exits
sourceforge
statistics
freshmeat

transparent transparent transparent
Documentation - Runtime
[[ Spyce ]]
Python Server Pages
by Rimon Barr

Prev: 3.6.8 - debug Up: 3.6 - Configuration Next: 3.6.10 - www

3.6.9. globals

The globals section is also entirely optional. Any "key: expr" pair will be stored in a hashtable, h, as h[key]=eval(expr). In other words, the expression is evaluated first, and the result is stored in the hashtable using the given key. This hashtable is accessible as self.wrapper.server.globals within any Spyce module, or as pool.globals within any Spyce file (with the pool module loaded).


Prev: 3.6.8 - debug Up: 3.6 - Configuration Next: 3.6.10 - www


© 2002 Rimon Barr
email: rimon AT acm DOT org
Spyce Powered SourceForge Logo [[ Spyce ]]
Python Server Pages
version 1.3.10