Calling method from a class in a different class in python
<p>Let's say I have this code:</p>

<pre><code>class class1(object):
    def __init__(self):
        #don't worry about this 


    def parse(self, array):
        # do something with array

class class2(object):
    def __init__(self):
        #don't worry about this 


    def parse(self, array):
        # do something else with array
</code></pre>

<p>I want to be able to call class1's parse from class2 and vice-versa. I know with c++ this can be done quite easily by doing</p>

<pre><code>class1::parse(array)
</code></pre>

<p>How would I do the equivalent in python?</p>
