title: Does Python csv writer always use DOS end-of-line characters?
body: <p>I realize that the <strong>csv</strong> library in Python always generates DOS end-of-line characters. Even if I use the <code>'wb'</code> mode, even if I use Linux.</p>
  
  <pre><code>import csv
  
  f = open('output.txt', 'wb');
  writer = csv.writer(f)
  writer.writerow([2,3,4]);
  f.close()
  </code></pre>
  
  <p>The above code always uses <code>'\r\n'</code> as the end of line separator.  How can I make it use use <code>'\n'</code> only?</p>