title: Add an attribute to a class dynamically at runtime in Python
body: <p>When I do the following:</p>
  
  <pre><code>def Welcome(email, temporaryPassword):
      model = object()
      model.TemporaryPassword = temporaryPassword
      model.Email = email
  </code></pre>
  
  <p>I get an error:</p>
  
  <pre><code>AttributeError: 'object' object has no attribute 'TemporaryPassword'
  </code></pre>
  
  <p>How do I dynamically create an object like I am doing?</p>