def login_chat_init():
# ??Linux ? Windows ??
os_paltform = platform.system()
# ????? hotReload?????????????????, ???????
# for some linux system, width of block character is one instead of two, so enableCmdQR should be 2
if os_paltform == "Windows":
print("This is windows system\n")
itchat.auto_login(hotReload=True)
else:
itchat.auto_login(hotReload=True, enableCmdQR=2)
# ???????????????????name?????
# ????????????
#I = itchat.search_friends()
#I.send("hello")
# ???????????
评论列表
文章目录