
#此示例示意导入自定义模块并调用其中的函数

import mymod

mymod.myfac(5)
mymod.mysum(12)
print(mymod.name1)
print(mymod.name2)

# from mymod import myfac as f
# f(6)

# print("在mymod.py模块内的__name__属性值为:")
# print(mymod.__name__)
