title: Python writing bytes through socket
body: <p>I want to write a byte (0-255) over a socket but I can't figure out how to. </p>
  
  <p><code>socket.send( str( unichr( byte ) ) )</code> works for 0-128 then gives a <code>UnicodeEncodeError</code>.</p>
  
  <p>Is there anyway to write a byte over a socket? Thanks in advance.</p>