摘要: 如果包中有其他包可以使用多层调用 如下: from web.web1.web3 import cal print(cal.add(2,6)) 或 from web.web1.web3.cal import add print(add(2,6)) 如果在执行文件中print(__name__)则打印结 阅读全文
posted @ 2018-10-29 15:20 犀利的攻城狮 阅读(94) 评论(0) 推荐(0) 编辑