- CherryTemplate
-
CherryTemplate is an open source templating language developed for CherryPy framework using the Python programming language. CherryTemplate is a simple yet relatively powerful templating language.[citation needed] It has a small instruction set. The templates made with CherryTemplate are not WYSIWYG-type-templates and they can't be edited with an HTML 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, <py-eval="name">')
Screen Output:
'Hello, world'
References
Categories:- Python libraries
Wikimedia Foundation. 2010.