Arun Tigeraniya's Articles
Arun Tigeraniya is an open source enthusiast/developer who loves Python (computer language not the snake) and other open source technologies, working in open source technologies since 2008. His hobbies are painting and dancing [Jackson style :)].
Difference between @staticmethod and @classmethod in Python
Class vs Static Methods in Python In this article I’ll try to explain what are staticmethod and classmethod, and what the difference is between them. staticmethod and classmethod both use decorators for defining a method as a staticmethod or classmethod. Please take a look at the article Python Decorators Overview for a basic understanding of […]
Read MoreHow Metaclasses Work Technically in Python 2 and 3
A metaclass is a class/object which defines a type/class of other classes. In Python a metaclass can be a class, function or any object that supports calling an interface. This is because to create a class object; its metaclass is called with the class name, base classes and attributes (methods). When no metaclass is defined […]
Read More