title: JavaBean equivalent in Python
body: <p>I am fairly new to using Python as a OOP. I am coming from a Java background. How would you write a javabean equivalent in python? Basically, I need a class that: </p>
  
  <ol>
  <li>Implements serializable. </li>
  <li>Has getters and setters -> private properties</li>
  <li>dummy constructor</li>
  </ol>
  
  <p>Any inputs? I am looking for a sample code! </p>