How do I implement interfaces in python?

The question: public interface IInterface { void show(); } public class MyClass : IInterface { #region IInterface Members public void show() { Console.WriteLine(“Hello World!”); } #endregion } How do I implement Python equivalent of this C# code ? class IInterface(object): def __init__(self): pass def show(self): raise Exception(“NotImplementedException”) class MyClass(IInterface): def __init__(self): IInterface.__init__(self) def show(self): print … Read more