python之微信好友统计信息

python学习网 2019-03-07 17:13:02

需要安装库:wxpy

代码如下:

from wxpy import Bot,Tuling,embed,ensure_one

bot = Bot(cache_path=True)

#获取好友信息
bot.chats()

#获取好友的统计信息
Friends = bot.friends()
print(Friends.stats_text())

 

阅读(2296) 评论(0)