chat.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:auto_chat 作者: SmallPond 项目源码 文件源码
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")


# ???????????
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号