flineca / blog

To use issues as a blog.
MIT License
0 stars 0 forks source link

wxpy case study #4

Closed flineca closed 2 years ago

flineca commented 2 years ago

Based on https://github.com/youfou/wxpy

Start

Command:

python -m venv ./env1
./env1/Scripts/activate
pip install wxpy

test

from wxpy import *
bot = Bot()

有些情况下,可能不能通过终端打开图片(例如部署在服务器上时),我们可以通过参数选择在终端内显示二维码,可以用bot = Bot(console_qr=True)

有个问题是 国外账号不能使用此服务 (包括wxpy以及其基于的itchat)