Description

Base class for handling the import of a file

Currently, there are iterators for CSV, ODS, and XLS,

ATTRIBUTES

lineno

The line counter

file_name

The name of the import file

mandatory

Required input columns

optional

Required input columns

encoding

The encoding of the spreadsheet

"PRIVATE" ATTRIBUTES

file

The import file

METHODS

_build_file

The lazy builder for the file

The base class opens a file as UTF-8 and returns it.

next

Return the next row of data from the file