title: Escaping unicode strings in python
body: <p>In python these three commands print the same emoji:</p>
  
  <pre><code>print "\xF0\x9F\x8C\x80"
  
  print u"\U0001F300"
  
  print u"\ud83c\udf00"
  
  </code></pre>
  
  <p>How can I translate between \x, \u and \U escaping? I can't figure how these hex numbers are equivalent? </p>