TLingC's Zone
TLingC's Zone

python
文章归档

用itchat做一个简单的关键词回复微信机器人

itchat组件:https://github.com/littlecodersh/ItChat 下载后根据安装教程 pip install itchat 安装itchat 新建wxbot.py #coding=utf8 import itchat import time @itchat.msg_register('Text') def text_reply(msg): f = open("words.txt") for line in f:…

   38   2017-06-25   阅读更多
标签
功能