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

transparent transparent transparent
Examples
[[ Spyce ]]
Python Server Pages
by Rimon Barr

The following is a list of examples extracted from the Spyce documentation. You can click on the links below to view the Spyce source, and try to run the code as well. Note, however, that these example will only work if these pages are viewed from a Spyce-enabled web server. A short description of each is provided. For a more detailed explanation, please refer to the documentation.
  • view, run - hello.spy : Hello World!
  • view, run - asp.spy : Hello World!, ASP syntax
  • view, run - hello2.spy : Colourful Hello Word!
  • view, run - gif.spy : Spyce logo
  • view, run - stdout.spy : Using print and stdout
  • view, run - spylambda.spy : Defining Spyce lambda functions
  • view, run - myPortal.spy : Using spyce lambda inside modules
  • view, run - tag.spy : Active tags
  • view, run - error.spy : Error handling
  • view, run - errorSyntax.spy : Syntax error
  • view, run - include.spy : Dynamic includes
  • view, run - includestatic.spy : Static includes
  • view, run - transform.spy : Dynamic output filters
  • view, run - compress.spy : Dynamic compression
  • view, run - template.spy : Interaction with various template engines
  • view, run - getpost.spy : GET and POST info
  • view, run - request.spy : Request information
  • view, run - form.spy : Basic form handling
  • view, run - fileupload.spy : Form-based file upload
  • view, run - cookie.spy : Cookie functionality
  • view, run - session.spy : Session handling
  • view, run - autosession.spy : Automatic session handling
  • view, run - autosessionpost.spy : Automatic session handling via POST
  • view, run - mysession.spy : User-defined session handling functions
  • view, run - redirect.spy : Request redirection methods
  • view, run - pool.spy : Server-pooled variables
  • view, run - automaton.spy : State-machine functionality
  • view, run - info.spy : Output Spyce runtime information

The Spyce documentation and the entire Spyce website were produced using Spyce.


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