title: When to open file in binary mode (b)?
body: <p>I noticed in <a href="https://docs.python.org/2/library/csv.html" rel="noreferrer">the docs</a> they always open a CSV file with ‘wb’. Why the ‘b’? I know b stands for binary mode, but when do you use binary mode (I’d guess CSV file is not binary). If relevant I’m writing to the CSV from results from query by arcpy.da.SearchCursor()</p>
  
  <p>EDIT: just noticed according to <a href="https://stackoverflow.com/questions/16208206/confused-by-python-file-mode-w">this answer</a> <code>wb+</code> is used for writing a binary file. What does including the <code>+</code> do?</p>