6.4 #include

The main template:

#include "y.tmpl"

The included template y.tmpl:

Let's go $voom!

The shell command and output:

% voom="VOOM" x.py --env
Let's go VOOM!

The generated code:

write(self._includeCheetahSource("y.tmpl", trans=trans, includeFrom="file",
    raw=0))


Subsections