PyDocs

Nav

File Formats

Dialect

csv

class (source)
Describe a CSV dialect.

This must be subclassed (see csv.excel).  Valid attributes are:
delimiter, quotechar, escapechar, doublequote, skipinitialspace,
lineterminator, quoting.
Members of Dialect

d

delimiter
A one-character string used to separate fields.
doublequote
Controls how instances of quotechar appearing inside a field should themselves be quoted.

e

escapechar
A one-character string used by the writer to escape characters that require escaping:

l

lineterminator
The string used to terminate lines produced by the writer.

q

quotechar
A one-character string used to quote fields containing special characters, such as the delimiter or the quotechar, or which contain new-line characters ('\r', '\n' or any of the characters in lineter…
quoting
Controls when quotes should be generated by the writer and recognised by the reader.

s

skipinitialspace
When True, spaces immediately following the delimiter are ignored.
strict
When True, raise exception Error on bad CSV input.
0 Examples
No examples for csv/Dialect.
See Also
No see-alsos for csv/Dialect
0 Notes
No notes for Dialect