美文网首页
Python实现微信红包提醒(一)

Python实现微信红包提醒(一)

作者: 扒皮狼 | 来源:发表于2019-04-24 22:43 被阅读0次

Python实现获取微信好友列表信息

安装Python第三方库

pip install itchat
image

登录微信

itchat.login()
image

获取微信好友的列表:

friends = itchat.get_friends()

# print(friends)        # list     列表

for friend in friends:

     print(friend['NickNam'])           #{}     字典        键值对来取值的
image image

Python实现微信好友列表信息视频地址:点击播放

相关文章

网友评论

      本文标题:Python实现微信红包提醒(一)

      本文链接:https://www.haomeiwen.com/subject/oxqogqtx.html