python的交互模式中调用.py文件中的函数?

python文件例如为new.py 里面有一个power函数

import new new.power(5)
posted @ 2018-08-05 23:17  糖果的二师兄  阅读(229)  评论(0)    收藏  举报