设为首页 加入收藏

TOP

python实现微信接口(itchat)(四)
2017-12-23 06:07:03 】 浏览:1394
Tags:python 实现 接口 itchat
bsp;  or old_msg["msg_type"] == "Video" \

                    or old_msg["msg_type"] == "Attachment":

                file = '@fil@%s' % (old_msg['msg_content'])

                itchat.send(msg=file, toUserName='filehelper')

                os.remove(old_msg['msg_content'])

            # 删除字典旧消息

            msg_information.pop(old_msg_id)

 

itchat.auto_login(hotReload=True)

itchat.run()

参考文章

本文链接:https://segmentfault.com/a/1190000009420701

本文非本人原创,摘自https://segmentfault.com/a/1190000009420701,仅供参考学习,不得商业使用。如有冒犯,请通过1315969544@qq.com联系

首页 上一页 1 2 3 4 5 6 7 下一页 尾页 4/14/14
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇Python字符串操作 下一篇python 面向对象十 __init__和__n..

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目