title: Revert unicode escape encoding in string (Python3)
body: <p>I have a string <code>my_string</code> which holds a newline character. So, if printed it will introduce a new line.</p>
  
  <p>Initially, I do <code>my_string.encode('unicode_escape').decode("utf-8")</code></p>
  
  <p>where <code>print(my_string.encode('unicode_escape').decode("utf-8"))</code> gives <code>\n</code></p>
  
  <p>and <code>print (repr(my_string))</code> gives <code>'\\n'</code>.</p>
  
  <p>Then, want I want to do is convert it back to its original state so that it prints the newline, i.e. <code>my_string</code> not to display the newline character <code>\n</code> or <code>\\n</code> but simply introduce a new line.</p>
  
  <p>I searched for <code>encode</code> and <code>decode</code> but could not figure out how to do it.</p>