Python Programming Object Oriented Database Example