title: How to enumerate an object's properties in Python?
body: <p>I C# we do it through reflection. In Javascript it is simple as:</p>
  
  <pre><code>for(var propertyName in objectName)
      var currentPropertyValue = objectName[propertyName];
  </code></pre>
  
  <p>How to do it in Python?</p>