I have a file that is meant to be a utility file. The file should contain a lot of static methods.
Should I define the methods inside a class this way:
#utility.py
class utility(object):
@staticmethod
def method1(a,b,c):
pass
@staticmethod
def method2(a,b,c):
pass
or use it like this (without a class):
#utility.py
def method1(a,b,c):
pass
def method2(a,b,c):
pass