##
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

- 6.4.1 #include raw
- 6.4.2 #include from a string or expression (eval)