How to exec py-file as a main.py replacement?
Posted: Tue Nov 24, 2020 2:18 pm
Hi,
I simply don't know how to create a search string for this possibly super simple question...
I want to create a main.py which consists of several expressions, which directly execute
other *.py files (named in the main.py) in sequence with the same effect, as if their code
would be included in the main.py.
Beside the name of the files themselves there should be a less information about the contents
of those files in the main.py as possible...
Is this even possible and if yes...how?
Cheers!
mcc
I simply don't know how to create a search string for this possibly super simple question...
I want to create a main.py which consists of several expressions, which directly execute
other *.py files (named in the main.py) in sequence with the same effect, as if their code
would be included in the main.py.
Beside the name of the files themselves there should be a less information about the contents
of those files in the main.py as possible...
Is this even possible and if yes...how?
Cheers!
mcc