Python has many modules (such as re) that perform a specific set of actions. You can call the functions of this module and get results, and the module as a whole has an idea behind it (in this case, dealing with regular expressions).Classes seem to do almost the exact same thing, but they also seem to use properties quite a bit more than modules.In what ways are modules different than classes? (I know I can't subclass a module, but is that it?) When should I use a class instead of a module?
Classes vs. modules in Python
class;modules