Does it make sense to create a class in python when it will never be created?

I have some methods in the file, and all of them are defined in the global area (module). I did not bother to make a class, because the class would never get an instance, and all the same, you would still need to access the static if I defined the class. Does it make sense to leave this as is, or is it better to create a class and make all my methods static? and why?
FYI: My script methods will gain access to third-party users.

+4
source share
1 answer

Python is not Java, use module-level methods without problems.

+9
source

All Articles