New to Python: Features

Aaron Bingham bingham at
Tue Oct 5 09:02:20 CEST 2004

Richard Blackwood wrote:

> Hi, I'm new to Python and I'd like to know if Python has the following 
> support: *please answer to each individually, thanks* 


> 31. Concepts of Protocols (whereby one may organize related methods 
> into groups and check whether a particular object implements the 
> methods within this protocol), or Interfaces similar to those in Java 
> whereby classes or objects which implement the interface (sign the 
> contract) must implement the methods and attributes as specified in 
> the interface, and/or programming by contract such as in Eiffel (see: 

PyProtocols ( might do 
what you want.


More information about the Python-list mailing list