📜  python reload import - Python 代码示例
📅  最后修改于: 2022-03-11 14:46:07.278000             🧑  作者: Mango
代码示例2
from importlib import reload
import foo
while True:
# Do some things.
if is_changed(foo):
foo = reload(foo)