Python - Should I put my helper functions inside or outside the class? [closed]
In Python, if some methods of a class need a helper function, but the helper function itself doesn't use anything in the class, should I put the helper function inside or outside the class? I tried putting it inside but PyLint was complaining that this function could have been put outside. @Karl: The class is a software upgrader and the helper function creates a new folder if the folder doesn't exist yet. The class is in a module having pretty much only the code for the class as of now. Other classes may be added later on. When deciding where to put helper functions the question I ask is, "Is