How to Create Static Method in Python Class

Python provides a feasible way to define static method in class called staticmethod, just as following code:
               
               
                class MyClass:
    @staticmethod
    def Hello(name):
        print "Hello, %s" % (name)
The "@staticmethod" form is a function decorator used to denote the function Hello will act as a static method for class MyClass.
Now you can call the method Hello with two ways,
MyClass.Hello("world")
or
MyClass().Hello("world")
which will output same result.