from . import send_message from . import receive_message
def receive(): return "这是来自100xx的短信"
def send(text): print("正在发送%s" % text)
import hm_message hm_message.send_message.send("123") test = hm_message.receive_message.receive() print(test) 正在发送123 这是来自100xx的短信