Difficult-Rocket/tests/import_check (2).py

18 lines
250 B
Python
Raw Normal View History

2021-09-02 22:47:10 +08:00
"""
writen by shenjackyuanjie
mail: 3695888@qq.com
github: @shenjackyuanjie
gitee: @shenjackyuanjie
"""
import importlib
name = 'import_test'
na = importlib.import_module(name)
print(na.__name__)
pllist = {}
pllist[name] = na
pllist[name].a()