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

Documentation - Language
[[ Spyce ]]
Python Server Pages
by Rimon Barr

Prev: 2.5 - Python Chunks Up: 2 - Language Next: 2.7 - Spyce Lambdas

2.6. Python Expressions

Syntax: [[= expression ]]

The contents of an expression tag is a Python expression. The result of that expression evaluation is printed using the its string representation. The Spyce transform module, can pre-processes this result, to assist with mundane tasks such as ensuring that the string is properly HTML-encoded, or formatted.


Prev: 2.5 - Python Chunks Up: 2 - Language Next: 2.7 - Spyce Lambdas


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