csv.Dialect.delimiter

Dialect.delimiter A one-character string used to separate fields. It defaults to ','.

csv.Dialect

class csv.Dialect The Dialect class is a container class relied on primarily for its attributes, which are used to define the parameters for a specific reader or writer instance.

csv.csvwriter.writerows()

csvwriter.writerows(rows) Write all the rows parameters (a list of row objects as described above) to the writer’s file object, formatted according to the current dialect.

csv.csvwriter.writerow()

csvwriter.writerow(row) Write the row parameter to the writer’s file object, formatted according to the current dialect. Changed in version 3.5: Added support of arbitrary iterables.

csv.csvwriter.dialect

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

csv.csvreader.__next__()

csvreader.__next__() Return the next row of the reader’s iterable object as a list, parsed according to the current dialect. Usually you should call this as next(reader).

csv.csvreader.line_num

csvreader.line_num 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.

csv.csvreader.fieldnames

csvreader.fieldnames If not passed as a parameter when creating the object, this attribute is initialized upon first access or when the first record is read from the file.

csv.csvreader.dialect

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

crypt.mksalt()

crypt.mksalt(method=None) Return a randomly generated salt of the specified method. If no method is given, the strongest method available as returned by methods() is used. The return value is a string either of 2 characters in length for crypt.METHOD_CRYPT, or 19 characters starting with $digit$ and 16 random characters from the set [./a-zA-Z0-9], suitable for passing as the salt argument to crypt(). New in version 3.3.