摘要:
import timeimport threadingfrom threading import Threadfrom concurrent.futures import ThreadPoolExecutor, wait, ALL_COMPLETED, as_completeddef sleep_t 阅读全文
摘要:
import time from multiprocessing import Pool from concurrent.futures import ThreadPoolExecutor, wait, ALL_COMPLETED, as_completed def thread_func(data 阅读全文
摘要:
思路: 1、获取带滑块的图片 2、获取不带滑块、完整的图片 3、比较两张图片中不一样的地方,找到滑块的坐标 4、通过滑块坐标来拖动浏览器 代码: import random import time from PIL import Image from io import BytesIO import 阅读全文
摘要:
思路: 1、先将DataFrame数据转换为numpy 2、通过numpy来修改对角线值 3、再将数据转换为DataFrame 代码: import pandas as pd import numpy as np # 数据 df = pd.DataFrame(np.arange(16).reshap 阅读全文