I have already written a simple python cmd program using the cmd module. However, I would like it to be modular. For Example, there would be a folder named script and any .py that contains a command would add the command to the application. How would I go about that?
NOTE: I have figured out how to find and load modules that are within a folder using importlib.
1.4m articles
1.4m replys
5 comments
57.0k users