python模块之间的调用

文件1 b1.py

def hello(self):
	print ("hello")

文件2 b2.py

from b1 import *

hello('q')
原文地址:https://www.cnblogs.com/xuehuiping/p/13706421.html