title: Python: String of 1s and 0s -> binary file
body: <p>I have a string of 1's and 0's in Python and I would like to write it to a binary file. I'm having a lot of trouble with finding a good way to do this.</p>
  
  <p>Is there a standard way to do this that I'm simply missing?</p>