9.1.3 Reader Objects

Reader objects (DictReader instances and objects returned by the reader() function) have the following public methods:

next( )
Return the next row of the reader's iterable object as a list, parsed according to the current dialect.

Reader objects have the following public attributes:

A read-only description of the dialect in use by the parser.

The number of lines read from the source iterator. This is not the same as the number of records returned, as records can span multiple lines. New in version 2.5.

See About this document... for information on suggesting changes.