代码示例:(标识:python_module_2)
python_module_2.py
import mymodule

a = mymodule.person1["age"]
print(a)
运行结果: