基础DAY12-包
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
from . import send_message from . import receive_message
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
def receive(): return "这是来自100xx的短信"
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
def send(text): print("正在发送%s" % text)
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
import hm_message hm_message.send_message.send("123") test = hm_message.receive_message.receive() print(test) 正在发送123 这是来自100xx的短信