title: Adding values to binary string
body: <p>I would like to add hexvalues to a binary string so that I end up with a binary string that can be transmitted.
  What I want is:
  <code>StringToAppend = "5ce7e615ff0000000000010202041f0140009e005d006404084c5ce82215ff1d02000000010202041f013b0097005c005e04777c"</code> (I have this in unhexlified form and want to append it to a string a la <code>StatusStr = chr(0)</code>
  How do I do this??? This is what i have:</p>
  
  <pre><code>&gt;&gt;&gt; not_macs_buffer=     unhexlify("5ce7e615ff0000000000010202041f0140009e005d006404084c5ce82215ff1d02000000010202041    f013b0097005c005e04777c")
  &gt;&gt;&gt; StatusStr = chr(0)
  &gt;&gt;&gt; for i in xrange(0,len(not_macs_buffer)):
  ...     StatusStr +=chr(not_macs_buffer[i])
  ... 
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 2, in &lt;module&gt;
  TypeError: an integer is required
  &gt;&gt;&gt; 
  </code></pre>