defining python classes that take multiple keyword arguments
<p>I need to define a class that will take multiple keyword parameters.</p>

<p>My code looks like this:</p>

<pre><code>class test1:
    def __init__(self,parm1=val1, parm2=val2):
        self.x = parm1
        self.y = parm2
        print('parm1',self.x)


def main():
    x = test1(1,2)
</code></pre>

<p>but I get an error that <code>val1</code> is not defined. What would be the proper way ?</p>
