title: Return all instances of one class
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/328851/printing-all-instances-of-a-class">Printing all instances of a class</a>  </p>
  </blockquote>
  
  
  
  <p>Is there a way to return every instance of a special class?
  I'd like to get some attributes of every object and afterwards delete the object.</p>