1.安装itchat包
sudo pip3 intsall itchat pillow
2.打开python交互命令行
import itchat
@itchat.msg_register(itchat.content.TEXT)
def text_reply(msg):
return ' msg:{}'.format(msg.text)
itchat.auto_login() 扫二维码
itchat.run()
1.安装itchat包
sudo pip3 intsall itchat pillow
2.打开python交互命令行
import itchat
@itchat.msg_register(itchat.content.TEXT)
def text_reply(msg):
return ' msg:{}'.format(msg.text)
itchat.auto_login() 扫二维码
itchat.run()
本文标题:python实现微信自动回复
本文链接:https://www.haomeiwen.com/subject/mhuovqtx.html
网友评论