importlib.import_module(name, package=None):导入一个模块 importlib.reload(module):重新载入已导入的模块

    1. from importlib import import_module, reload
    2. import test_import
    3. a = import_module(name="test_import") # 已被成功导入
    4. print(reload(test_import))
    5. # <module 'test_import' from'/Users/zaygee/work_script/Script/python_test/test_import.py'>