Skip to content

xzkzdx/WeChatPC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

功能特性

微信PC版自动化API

安装

依赖第三方库: pywin32 PIL

pip install pywin32

pip install PIL

example示例

login_weixin.py

# -*- encoding: utf-8 -*-
#在没有启动微信PC的情况下自动启动WeChat,并根据是否扫码选择点击登录,显示二维码等登录操作。
from handle.wechat_handle import WeChatPCLoginHandle, WeChatStartUp


class WeChatAPI(object):
    def login_wechat(self):
        wx = WeChatPCLoginHandle()
        wx.click_login()


if __name__ == '__main__':
    WeChatStartUp('C:\\Program Files (x86)\\Tencent\\WeChat\\WeChat.exe').startup()
    wechat = WeChatAPI()
    wechat.login_wechat()

About

WeChat PC 微信PC版自动化控制API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages