I have a piece of code for dynamic module import
from importlib.util import spec_from_file_location, module_from_spec spec = spec_from_file_location(basename(