title: How to turn object.__dict__ into the object itself again?
body: <pre><code>class Node(object):
      def __init__(self, data):
          self.data = data
  
  if __name__ == "__main__":
      a = Node(5)
      print a # prints __main__.Node object at 0x025C7530
      print a.__dict__ # how can I turn this back into the previous line?
  </code></pre>
  
  <p>Is there anyway to turn the <strong>dict</strong> back into the object?</p>