Is it possible to have static methods in Python? Technology Community › Category: Python › Is it possible to have static methods in Python? 0 Vote Up Vote Down VietMX Staff asked 4 years ago Use the @staticmethod decorator: class MyClass(object): @staticmethod def the_static_method(x): print x MyClass.the_static_method(2) # outputs 2