classes and interfaces

s99999999s2003 at s99999999s2003 at
Tue Jun 27 11:41:58 CEST 2006

i come from a non OO environment. now i am learning about classes. can
i ask, in JAva, there are things like interface. eg
public interface someinterface {
   public somemethod ();

In python , how to implement interface like the above? is it just
define a class??

class someinterface:
     def somemethod: blah....


More information about the Python-list mailing list