摘要: 导入模块常见的几种形式 1 def f1(): 2 print("F1") 3 4 def f2(): 5 print("F2") 1 import test1 2 test1.f1() 3 4 from test1 import f1 5 f1() 6 7 from test1 import f1 阅读全文
posted @ 2017-06-26 19:46 zj-luxj 阅读(126) 评论(0) 推荐(0) 编辑