combining strings with Ascii chars (STX, ETX) comes out different than writing the string at once
<p>I am working on a API integration over a TCP socket. The protocol requires each message to start with a STX (\x02) and end with ETX (\x03). </p>

<p>when I do the following the server reacts as expected:</p>

<pre><code>s.send("\x02Message\x03")
</code></pre>

<p>If I build the message like this:</p>

<pre><code>msg = "Message"
msg = "\x02" + msg + "\x03"
s.send(msg)
</code></pre>

<p>Which to my understanding should be the same, the server doesn't react as expected.What did I miss? </p>

<p>(I am running Python 2.6.2 on OS-X if that makes any difference)</p>
