title: Console output of an instance
body: <p>I just started with object oriented programing in Python and I created a class, now i wrote this:</p>
  
  <pre><code>def __str__(self):
      return "({0}, {1})".format(self.base, self.error)
  </code></pre>
  
  <p>which works fine if I calculate something in the code e.g.:</p>
  
  <pre><code>print R+I
  </code></pre>
  
  <p>the console output is (5.0, 1.0)</p>
  
  <p>I'm working in spyder btw</p>
  
  <p>Now if i type R+I into the console instead it returns 
  &lt;<strong>main</strong>.errorCalc instance at 0x0000000009A54F08></p>
  
  <p>but I'd like it to be shown like this (5.0, 1.0)</p>
  
  <p>any help or ideas are appreciated :)</p>