Public Member Functions | |
def | __init__ |
def | __iter__ |
def | __next__ |
Public Attributes | |
fileIter | |
lineNo | |
fileNo | |
Iterator: returns one file name at each iteration. The text file is expected to have one file name per line. Lines are stripped (`str.strip()`) of spaces. Empty lines and lines which are a comment are skipped. A comment line is a line whose first non-blank character is a hash character ('#'). The value returned at each iteration is (lineNo, fileNo, fileName); if `withLineNo` or `withFileNo` are `False`, the respective element is omitted. If only the file name is requested (all other option `False`) the return value is not a tuple but just the file name.
Definition at line 88 of file CheckPhotonLibraryJobs.py.
def CheckPhotonLibraryJobs.FileListIterator.__init__ | ( | self, | |
listFile | |||
) |
Definition at line 104 of file CheckPhotonLibraryJobs.py.
def CheckPhotonLibraryJobs.FileListIterator.__iter__ | ( | self | ) |
Definition at line 117 of file CheckPhotonLibraryJobs.py.
def CheckPhotonLibraryJobs.FileListIterator.__next__ | ( | self | ) |
Definition at line 119 of file CheckPhotonLibraryJobs.py.
CheckPhotonLibraryJobs.FileListIterator.fileIter |
Definition at line 112 of file CheckPhotonLibraryJobs.py.
CheckPhotonLibraryJobs.FileListIterator.fileNo |
Definition at line 114 of file CheckPhotonLibraryJobs.py.
CheckPhotonLibraryJobs.FileListIterator.lineNo |
Definition at line 113 of file CheckPhotonLibraryJobs.py.