How do Java interfaces translate to Python?

Martin von Loewis loewis at
Mon Oct 1 00:14:37 CEST 2001

Gordon Tyler <gordon at> writes:

> My question is this: Java being my primary language, I'm very used to
> using interfaces and I was wondering if there was an equivalent construct
> or idiom in Python? How does one do in Python what one would do with
> interfaces in Java?

What exactly is it that you do with interfaces in Java?


More information about the Python-list mailing list