3.1.9.9. TexCommentedFile

class PyDvi.Tools.TexCommentedFile.TexCommentedFile(filename)[source]

Bases: file

This class permits to iterate over lines of a text file and to skip commented line by ‘%’.

concatenate_lines()[source]

Concatenate the lines and return the corresponding string.