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

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 dictionary, h, as h[key]=eval(expr). In other words, the expression is evaluated first, and the result is stored in the dictionary using the given key. This dictionary is accessible as:

within a... as
Spyce script pool.server (with pool module loaded)
Spyce module self.wrapper.server.globals
Python module spyce.getServerGlobals() (with spyce imported)


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


© 2002-06 Rimon Barr
email: rimon@acm.org
Spyce Powered SourceForge Logo [[ Spyce ]]
Python Server Pages
version 1.3.13