摘要:
import os import email import imaplib import quopri import requests import re from email.header import decode_header import json from pathlib import P 阅读全文
摘要:
AI 写的 asyncio + httpx 异步请求板子 import asyncio import httpx import json import aiofiles from pathlib import Path project_dir = Path(__file__).resolve().p 阅读全文
摘要:
第一题 打开页面 https://www.aqistudy.cn/ 实现接口 https://www.aqistudy.cn/apinew/aqistudyapi.php 的正常请求并获取明文响应 分析 开着 F12 进页面 遇到无限debugger 一个 never pause here 下去 关 阅读全文
摘要:
关于使用python将pdf转图片,网上大部分教程在讲pdf2image包 https://pypi.org/project/pdf2image/ 它需要用到一个poppler的程序,但是给的下载链接都过期了,去github下载最新项目发现路径下只有Library、share https://gh. 阅读全文
摘要:
我说想要一段实现了 当发现windows桌面上冒出新窗口就截图保存的功能,AI写的,测了下能用。 # pip install pyautogui pywin32 import time import win32gui import pyautogui def capture_window_scree 阅读全文
摘要:
每次从数据库导出数据交付产品的时候常需要把json拍成excel """ json_to_excel.py ~~~~~~~ json文件转换为excel文件(xlsx) 注:最多容纳1048576行数据 """ import os import sys import json import open 阅读全文
该文被密码保护。 阅读全文
摘要:
Ubuntu22.04 全程root用户 安装vnc和图形化界面 # 更新 apt update # 安装桌面环境 sudo apt install xfce4 xfce4-goodies # 安装vncserver apt install tightvncserver 安装noVNC git cl 阅读全文