python example object oriented Example: real python oop >>> class Dog: ... pass ... >>> a = Dog() >>> type(a) <class '__main__.Dog'>