代码示例:(标识:python_module_6)
python_module_6.py
from mymodule import person1

print (person1["age"])
运行结果: