Jul-31-2021, 04:27 AM
Just try and use classes appropriately - they aren't always the right way to group related functionality, as in this case. I'm not sure what you mean by "easier to get the code to work" by using a class there. The functions are completely independent of one another, so if they were in a module, you'd just have to import them and use them.