📅  最后修改于: 2022-03-11 14:45:23.188000             🧑  作者: Mango
代码示例1
# config.py
x = 0
# mod.py
import config
config.x = 1
# main.py
import config
import mod
print(config.x) # will print '1'