10 2022 档案
摘要:import requests import re from bs4 import BeautifulSoup import random # 生成随机数 # for i in range(5): # print(random.randrange(100000000)) headers = { 'c
阅读全文
摘要:import time import pandas as pd import pyautogui import pyperclip data = pd.read_excel("file/社群优质用户奖励发放.xlsx", header=0) person_pass = [] for index, r
阅读全文
摘要:# -*- coding: utf-8 -*- import time from pyautogui import * def demo1(): time.sleep(2) # 控制键盘发送文本 write('hello world', interval=0.01) print('') time.s
阅读全文
摘要:# -*- coding: utf-8 -*- import pyautogui import os file_url = os.getcwd() + '/file/img.png' # 屏幕截图 def demo1(): pyautogui.screenshot(region=(0, 0, 192
阅读全文
摘要:# -*- coding: utf-8 -*- # 利用pyautogui模块实现鼠标移动 单击 拖动 滚动 等操作 import time import pyautogui # 移动鼠标 def demo1(): # duration=1 移动时间持续1秒 pyautogui.moveTo(100
阅读全文