摘要: from zope.interface import Interface, Attribute, implementsfrom zope.component import adapts, getAdapter, getUtility, getGlobalSiteManager# Interfaceclass IPerson(Interface): name = Attribute("Name") email = Attribute("Email Address") phone = Attribute("Phone Number")cl 阅读全文
posted @ 2011-10-29 00:36 猫之良品 阅读(509) 评论(0) 推荐(0) 编辑