title: creating binary file python
body: <p>I'm attempting to create a binary file from a python script using Python 2.7. Whenever I try converting my strings into a binary string and print it to see if it converted, it just shows the (ascii) string. Is that because print will always show the ascii equivalent and not the binary even if it is binary encoded?</p>
  
  <p>EX.</p>
  
  <pre><code>my_string = "Testing binary string conversion"
  bin_string = str.encode(my_string, "UTF-8")
  print bin_string
  </code></pre>