title: Reverse repr function in Python
body: <p>if I have a string with characters ( <code>0x61</code> <code>0x62</code> <code>0xD</code> ), the <code>repr</code> function of this string will return <code>'ab\r'</code>. </p>
  
  <p>Is there way to do reverse operation: if I have string <code>'ab\r'</code> (with characters <code>0x61</code> <code>0x62</code> <code>0x5C</code> <code>0x72</code>), I need obtain string <code>0x61</code> <code>0x62</code> <code>0xD</code>.</p>