返回顶部
摘要: scrcpy 是一款免费开源的投屏软件,可以将安卓手机屏幕投放在 Windows、macOS、GNU/Linux 上,并可以直接使用鼠标在投屏窗口中进行交互和录制。 市面上主流的多屏协同软件大多都是基于 scrcpy 开发的套壳产品,而且 bug 也没有得到修复,因此建议直接使用官方的 scrcpy。 本文以 Windows 投屏为例,可以前往官方站点下载 scrcpy,或者使用 国内搬运链接。 阅读全文
posted @ 2023-03-03 14:33 gz_zyg 阅读(541) 评论(0) 推荐(0) 编辑
摘要: import requests import re from bs4 import BeautifulSoup import random # 生成随机数 # for i in range(5): # print(random.randrange(100000000)) headers = { 'c 阅读全文
posted @ 2022-10-14 14:57 gz_zyg 阅读(17) 评论(0) 推荐(0) 编辑
摘要: import time import pandas as pd import pyautogui import pyperclip data = pd.read_excel("file/社群优质用户奖励发放.xlsx", header=0) person_pass = [] for index, r 阅读全文
posted @ 2022-10-07 23:55 gz_zyg 阅读(405) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*- import time from pyautogui import * def demo1(): time.sleep(2) # 控制键盘发送文本 write('hello world', interval=0.01) print('') time.s 阅读全文
posted @ 2022-10-05 17:02 gz_zyg 阅读(68) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*- import pyautogui import os file_url = os.getcwd() + '/file/img.png' # 屏幕截图 def demo1(): pyautogui.screenshot(region=(0, 0, 192 阅读全文
posted @ 2022-10-03 20:01 gz_zyg 阅读(59) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*- # 利用pyautogui模块实现鼠标移动 单击 拖动 滚动 等操作 import time import pyautogui # 移动鼠标 def demo1(): # duration=1 移动时间持续1秒 pyautogui.moveTo(100 阅读全文
posted @ 2022-10-02 23:51 gz_zyg 阅读(95) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*- import requests url = 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=3be1e100-2860-4bc6-9169-xxxxxxxxxxxx' # python调用机器 阅读全文
posted @ 2022-09-29 23:08 gz_zyg 阅读(131) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*- import time import schedule import requests url = 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=3be1e100-2860-4bc6-916 阅读全文
posted @ 2022-09-28 15:10 gz_zyg 阅读(330) 评论(0) 推荐(0) 编辑
摘要: from docx import Document # 创建Document对象 doc = Document() # 添加标题 doc.add_heading('春晓', level=1) # 添加段落 doc.add_paragraph('作者:孟浩然') doc.add_paragraph(' 阅读全文
posted @ 2022-09-26 14:14 gz_zyg 阅读(21) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*- # 安装 yagmail # pip install yagmail # yagmail.SMTP(user, password, host) user:发件人的邮箱地址, password:邮箱的SMTP服务授权码, host:邮箱的SMTP服务地址 阅读全文
posted @ 2022-09-24 19:51 gz_zyg 阅读(85) 评论(0) 推荐(0) 编辑