title: Deobfuscation: Simplify Python3 Expressions
body: <p>I'm trying to learn how to deobfuscate some code that is unneccesarily complicated.  For example, I would like to be able to rewrite this line of code:</p>
  
  <pre><code>return ('d' + chr(101) + chr(97) + chr(200 - 100)) # returns 'dead'
  </code></pre>
  
  <p>to: </p>
  
  <pre><code>return 'dead'
  </code></pre>
  
  <p>So basically, I need to evaluate all literals within the py file, including complicated expressions that evaluate to simple integers.  How do I go about writing this reader / is there something that exists that can do this?  Thanks!</p>