Re: New to Python: Features
From: Aaron Bingham (bingham_at_cenix-bioscience.com)
Date: 10/05/04
- Next message: Jacek Generowicz: "Re: Python Macros"
- Previous message: Andrew Dalke: "Re: New to Python: Features"
- Maybe in reply to: Richard Blackwood: "New to Python: Features"
- Next in thread: Josiah Carlson: "Re: New to Python: Features"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 05 Oct 2004 09:02:20 +0200 To: Richard Blackwood <richardblackwood@cloudthunder.com>
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:
> http://www.devhood.com/tutorials/tutorial_details.aspx?tutorial_id=595)
PyProtocols (http://peak.telecommunity.com/PyProtocols.html) might do
what you want.
Aaron
- Next message: Jacek Generowicz: "Re: Python Macros"
- Previous message: Andrew Dalke: "Re: New to Python: Features"
- Maybe in reply to: Richard Blackwood: "New to Python: Features"
- Next in thread: Josiah Carlson: "Re: New to Python: Features"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|