#从 functionDemo 模块导入 anyNumKeyPram 方法,别名为f
from functionDemo import anyNumKeyPram as f
#通过别名调用 anyNumKeyPram 方法
f(name='xyp', age='17')
python极简笔记——模块导入import
猜你喜欢
转载自blog.csdn.net/sinat_22808389/article/details/94719472
今日推荐
周排行