Instantiating objects in python
<p>I have a python class I want to instantiate and the <code>__init__</code> definition has a lot of parameters (10+). Is there a clean way to instantiate a class who's <code>__init__</code> takes a lot of params?</p>

<p>For example:</p>

<pre><code>class A(object):

    def __init__(self, param1, param2, param3,...param13):
    // create an instance of A


my_a = new A(param1="foo", param2="bar", param3="hello"....)
</code></pre>

<p>Is there a cleaner way to do this? like passing in a dictionary or something? Or better, is there an expected convention?</p>
