ID EN
CSV

writerows

Python 3.11

Write all elements in rows (an iterable of row objects as described above) to the writer’s file object, formatted according to the current dialect.

Syntax

PYTHON
csvwriter.writerows(rows)