用Python实现与WeChat交互

用Python登录微信 # Python要和微信进行连接通信 需要导入wxpy库 # 本代码执行后直接会弹出二维码 手机上用微信扫描 # 就能够登录微信 收发消息 from wxpy import * bot = Bot(cache_path=True) # 设置cache 登录信息保存 # 这样就不用每次都扫描二维码 bot.file_helper.send("hello") # 发送消息hel
相关文章
相关标签/搜索