title: Integer array to string in Python
body: <p>I have an array of integer, and I need to transform it into string.</p>
  
  <pre><code>[1,2,3,4] =&gt; '\x01\x02\x03\x04'
  </code></pre>
  
  <p>What function can I use for it? I tried with str(), but it returns '1234'. </p>
  
  <pre><code>string = ""
  for val in [1,2,3,4]:
      string += str(val) # '1234'
  </code></pre>