Reader¶
-
csv_reader.Reader.openWithFile(file: TextIO)¶ yields the csv reader object from an already opened file.
Parameters: file (typing.TextIO) – the file obj to use Returns: the reader object Return type: typing.Iterator
-
csv_reader.Reader.openWithName(name: str)¶ opens a csv file as a context manager with the name given.
Parameters: name (str) – the name of the file Returns: the reader object Return type: typing.Iterator
-
csv_reader.Reader.readFromFile(file: TextIO)¶ reads from a file and returns an context manager that yields an iterator.
Parameters: file (typing.TextIO) – the csv file to read from. Returns: the reader object Return type: typing.Iterator
-
csv_reader.Reader.readFromName(name: str)¶ reads from a csv file and returns a context manager that yields an iterator.
Parameters: name (str) – the name of the file Returns: the reader object Return type: typing.Iterator