Given the following folder structure:
executioner/:
- executioner.py
- library/:
- __init__.py
- global_functions.py
- oakalleyit.py
If I wanted to access a function inside of either global_functions.py or oakalleyit.py, but I won't know the name of the function or module until runtime, how would I do it?
Something like:
from library import 'oakalleyit'
'oakalleyit'.'cleanup'()
Where the ''
implies it came from a config file, CLI argument, etc.