Trees | Indices | Help |
---|
|
object --+ | file --+ | FileWriter
Generic Writer class. All writers should inherit from this class.
|
|||
FileWriterError Exception raised if an error occurs in the definition or the execution of a Writer. |
|||
FilePreProcessingError Exception raised if an error occurs in the handling of the preprocessor tags '##' in the template file. |
|
|||
file object |
|
||
|
|||
|
|||
|
|||
None |
|
||
|
|||
Inherited from Inherited from |
|
|||
supported_preprocessor_commands =
|
|||
preprocessor_command_re = re.compile(r'\s
|
|||
preprocessor_endif_re = re.compile(r'\s
|
|
|||
Inherited from Inherited from |
|
Initialize file to write to
|
Extends the regular file.writeline() function to write out nicely formatted code. When defining a context, then the lines will be preprocessed to apply possible conditional statements on the content of the template depending on the contextual variables specified.
|
|
preprocessor_command_re
|
preprocessor_endif_re
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Feb 4 12:20:08 2019 | http://epydoc.sourceforge.net |