PyFoam.Basics.LineReader module¶
Read a file line by line
-
class
PyFoam.Basics.LineReader.LineReader(stripAllSpaces=True)[source]¶ Bases:
objectRead a line from a file
The line is stripped of whitespaces at the start and the end of the line and stored in a variable self.line