> Large Python projects seem to need something more formal than this.
> I think Zope, Twisted and PEAK have all invented ways to formalize
> this notion, and one of them may become part of Python in the
> future.
I think thats more to do with the background of the programmers
involved.
> smal
> I am learning Python and relating to my knowledge of Java... What is
> (Is there?) the equivalent of Java interfaces in Python? How could
> I write my own?
There is no direct equivalent.
Interfaces are implicit in Python, they are only really necessary in
statically typed languages. Dynamica
Emily Fortuna wrote:
> Hi friends,
> I am learning Python and relating to my knowledge of Java... What is (Is
> there?) the equivalent of Java interfaces in Python? How could I write
> my own?
Explicit, formal interfaces are used much less frequently in Python than
in Java, and for beginners t
On Tue, Jun 13, 2006 at 12:59:47PM -0400, Emily Fortuna wrote:
> Hi friends,
> I am learning Python and relating to my knowledge of Java... What is (Is
> there?) the equivalent of Java interfaces in Python? How could I write
> my own?
> Emily
>
You may be interested in this article:
http: