Python: How to use First Class Object Constructor value In another Object
<pre><code>class MyClass(Object):

    def __init__(self, x=None):
        if x:
            self.x = x
    def do_something(self):
        print self.x
</code></pre>

<p>Now I have two objects</p>

<p><code>my_class1 = MyClass(x)</code></p>

<p><code>my_class2 = MyClass()</code></p>

<p>I want to use x when this my_class2 object is called</p>

<p>As other languages Support static variable like java,c++ etc. </p>
