Works on template files. Does calculations between $$. Lines that
start with $$ contain definitions
|
__init__(self,
name=None,
content=None)
Exactly one of the parameters must be specified |
source code
|
|
|
writeToFile(self,
outfile,
vals)
In the template, replaces all the strings between $$ with the
evaluation of the expressions and writes the results to a file |
source code
|
|
|
getString(self,
vals)
In the template, replaces all the strings between $$ with the
evaluation of the expressions |
source code
|
|
|
eval(self,
input,
vals)
Gets a string, replaces all the strings between $$ with the
evaluation of the expressions |
source code
|
|