What is the difference between a function decorated with @staticmethod and one decorated with @classmethod?
@classmethod : can be used to create a shared global access to all the instances created of that class..... like updating a record by multiple users.... I particulary found it use ful when creating singletons as well..:)
@static method: has nothing to do with the class or instance being associated with ...but for readability can use static method