Python實現微信紅包提醒(一)

Python實現獲取微信好友列表信息

安裝Python第三方庫

pip install itchat

登錄微信

itchat.login()

獲取微信好友的列表:

friends = itchat.get_friends()

# print(friends)        # list     列表

for friend in friends:

     print(friend['NickNam'])           #{}     字典        鍵值對來取值的

Python實現微信好友列表信息視頻地址:點擊播放

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章