Welcome | Get started | Dive into Lino | Contribute | Reference
lino.utils.ucsv¶
Classes
|
Iterator that reads an encoded stream and reencodes the input to UTF-8 |
|
A CSV reader which will iterate over lines in the CSV file "f", which is encoded in the given encoding. |
|
A CSV writer which will write rows to CSV file "f", which is encoded in the given encoding. |
- class lino.utils.ucsv.UTF8Recoder(f, encoding)¶
Bases:
object
Iterator that reads an encoded stream and reencodes the input to UTF-8
- class lino.utils.ucsv.UnicodeReader(f, dialect=<class 'csv.excel'>, encoding='utf-8', **kwds)¶
Bases:
object
A CSV reader which will iterate over lines in the CSV file "f", which is encoded in the given encoding.
- class lino.utils.ucsv.UnicodeWriter(f, dialect=<class 'csv.excel'>, encoding='utf-8', **kwds)¶
Bases:
object
A CSV writer which will write rows to CSV file "f", which is encoded in the given encoding.