I have multiple python files, each with different classes and methods in it. I want to execute all those files with a main function I have separately outside all of them.
For example:
I have three files say one.py, two.py, three.py
I have no main method in any of them, but when I execute them then I want them to pass through the main function that I have separately. Is this possible, how?
Thanks.
use them as modules and import them into your script containing main.