from persistent import Persistent from zope.interface import implements from buddydemo.interfaces import IBuddy class Buddy(Persistent): implements(IBuddy) def __init__(self, first='', last='', address='', postal_code=''): self.first = first self.last = last self.address = address self.postal_code = postal_code