title: Convert binary to ASCII and vice versa
body: <p>Using this code to take a string and convert it to binary:</p>
  
  <pre><code>bin(reduce(lambda x, y: 256*x+y, (ord(c) for c in 'hello'), 0))
  </code></pre>
  
  <p>this outputs:</p>
  
  <pre><code>0b110100001100101011011000110110001101111
  </code></pre>
  
  <p>Which, if I put it into <a href="http://www.roubaixinteractive.com/PlayGround/Binary_Conversion/Binary_To_Text.asp" rel="noreferrer">this site</a> (on the right hand site) I get my message of <code>hello</code> back. I'm wondering what method it uses. I know I could splice apart the string of binary into 8's and then match it to the corresponding value to <code>bin(ord(character))</code> or some other way. Really looking for something simpler.</p>