title: Why does an escape character turn into a string like \x0 in python?
body: <p>I have a simple question here: </p>
  
  <pre><code>mylist=[1,2,3]
  mylist.insert(0, '\0')
  print(mylist) 
  </code></pre>
  
  <p>gives us:</p>
  
  <pre><code>['\x00', 1, 2, 3]
  </code></pre>
  
  <p>in other words, why and how is the escape character <code>\</code> turning into <code>\x0</code>?<br>
  Is there some purpose here? Is this some encoding thing?</p>
  
  <p>Why does python return one representation over another?</p>