Is this Pythonic?

Michael Hudson mwh at python.net
Tue Aug 2 06:01:23 EDT 2005


zen19725 at zen.co.uk (phil hunt) writes:

>>It would (possibly) be more Pythonic to
>>define an interface instead,
>
> Does Python have the concept of an interface? When was that added?

It doesn't have one included, but there are at least two
implementations, zope.interface and PyProtocols (I'm sure google will
find you more on both of these).

-- 
  ... with these conditions cam the realisation that ... nothing
  turned a perfectly normal healthy individual into a great political
  or military leader better than irreversible brain damage.
                   -- The Hitch-Hikers Guide to the Galaxy, Episode 11



More information about the Python-list mailing list