Python __str__ function printing
<p>I have this class defined..
Point.py</p>

<pre><code>class Point():
    def __init__(self,x,y):
        self.x = x
        self.y = y
    def __str__(self):
        return "Point x: {0}, Point y: {1}".format(self.x, self.y)
</code></pre>

<p>WHat is the difference between the 2 cases <code>print("Point",p1)</code> &amp; <code>print(p1)</code></p>

<pre><code>p1 = Point(1,2)
print("Point",p1)
print(p1)

&gt;&gt;('Point', &lt;__main__.Point instance at 0x00D96F80&gt;)
&gt;&gt;Point x: 1, Point y: 2
</code></pre>
