<writer>.writerow(<collection>) <spanclass="hljs-comment"># Encodes objects using `str(<el>)`.</span>
<writer>.writerows(<coll_of_coll>)
</code></pre>
<ul>
<li><strong>File must be open with <codeclass="python hljs"><spanclass="hljs-string">'newline=""'</span></code> argument, or newlines embedded inside quoted fields will not be interpreted correctly!</strong></li>
</ul>
<h3id="parameters">Parameters</h3>
<ul>
<li><strong><codeclass="python hljs"><spanclass="hljs-string">'dialect'</span></code> - Master parameter that sets the default values.</strong></li>
<li><strong>If <codeclass="python hljs"><spanclass="hljs-string">'newline=""'</span></code> is not specified, then newlines embedded inside quoted fields will not be interpreted correctly.</strong></li>
</ul>
<h3id="writerowstocsvfile">Write Rows to CSV File</h3>