CherryTemplate
Encyclopedia
CherryTemplate is an open source
Open source
The term open source describes practices in production and development that promote access to the end product's source materials. Some consider open source a philosophy, others consider it a pragmatic methodology...

 templating language developed for CherryPy
CherryPy
CherryPy is an object-oriented web application framework using the Python programming language. It is designed for rapid development of web applications by wrapping the HTTP protocol but stays at a low level and does not offer much more than what is defined in RFC .CherryPy can be a web server...

 framework using the Python programming language. CherryTemplate is a simple yet relatively powerful templating language. It has a small instruction set. The templates made with CherryTemplate are not WYSIWYG
WYSIWYG
WYSIWYG is an acronym for What You See Is What You Get. The term is used in computing to describe a system in which content displayed onscreen during editing appears in a form closely corresponding to its appearance when printed or displayed as a finished product...

-type-templates and they can't be edited with an HTML
HTML
HyperText Markup Language is the predominant markup language for web pages. HTML elements are the basic building-blocks of webpages....

editor, however the code can be easily manipulated with any text editor such as Wordpad, Scite, etc.

Example:

from cherrytemplate import renderTemplate
name = "world"
renderTemplate('Hello, ')

Screen Output:

'Hello, world'
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK