Am 28.06.2009 um 17:00 schrieb Amit Sethi:

Hi , I don't suppose python has a concept of interfaces. But can somebody tell me if their is a way i can implement something like a java interface in python.

The Web Framework Zope has a notion of interfaces.
http://pypi.python.org/pypi/zope.interface/3.5.1

There are some quite interesting things you can make with interfaces. Eg. the Component Architecture is build on interfaces and adapters.

http://wiki.zope.org/zope3/WhatAreInterfaces

More on this here:
http://docs.zope.org/

juh

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to