[Phillip]
API to be provided by a template engine:
compile_string(text), compile_stream(input_stream) - return a WSGI
application object for the template described by the text or file-like object
write_compiled(app, output_stream) - save the compiled form of the template
to output_stream
On Feb 4, 2006, at 8:17 AM, Guido van Rossum wrote:
I am probably missing something, but shouldn't there also be an API to
render the template to a string or stream given some context of
variable names? I'm looking at this from a very different perspective,
namely *using* various templating