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

mymodule.greeting("Bill")
运行结果: