上一页 1 2 3 4 5 6 ··· 21 下一页
摘要: 一、实操示例: 1. 内部产品进行接口压力测试。 通过task的装饰器,tag传参控制压测哪个接口。 代码: # coding=utf-8 import os import base64 import sys import time import queue import random import 阅读全文
posted @ 2022-05-07 18:41 清风_Z 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 一、安装 pip install camelot-py 依赖库安装: 仅通过pip命令安装的camelot,代码运行时通常会报错。需要下载ghostscript并安装 ghostscript下载地址: https://www.ghostscript.com/releases/gsdnld.html 阅读全文
posted @ 2022-04-15 21:06 清风_Z 阅读(384) 评论(0) 推荐(0) 编辑
摘要: 一、简介 动态规划(dynamic programming)是通过组合子问题来求解原问题的方法,它应用于解决子问题重叠的情况,即不同子问题具有公共的子问题。 通常动态规划可以按照如下四个步骤进行设计:1.刻画一个最优解的结构特征;2.递归地定义最优解的值;3.计算最优解的值,通常采用自底向上的方法; 阅读全文
posted @ 2022-03-22 20:25 清风_Z 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 转载: https://www.cnblogs.com/xiaxiaoxu/p/10549485.html 阅读全文
posted @ 2022-03-07 18:13 清风_Z 阅读(438) 评论(0) 推荐(0) 编辑
摘要: 博客转自: https://www.cnblogs.com/CJOKER/p/8295272.html 用Python写代码的时候,在想看的地方写个print xx 就能在控制台上显示打印信息,这样子就能知道它是什么了,但是当我需要看大量的地方或者在一个文件中查看的时候,这时候print就不大方便了 阅读全文
posted @ 2021-12-21 12:02 清风_Z 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 使用场景:勾选框提取字段值等。 def mat_inter(box1, box2): # box1,box2是否相交 x01, y01, x02, y02 = box1 # (x01,y01),(x02,y02) 对角线的点坐标 x11, y11, x12, y12 = box2 lx = abs( 阅读全文
posted @ 2021-10-13 16:33 清风_Z 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 一. 打开图片,旋转图片, 保存图片 import cv2 img = r'./3.jpg' g_res = api_call(img, 'general', 'chinese_print') angle = g_res['data']['json']['general_ocr_res']['rot 阅读全文
posted @ 2021-10-13 12:33 清风_Z 阅读(265) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/zhouz92/article/details/106857122/ https://www.cnblogs.com/li-dy/p/11990729.html 阅读全文
posted @ 2021-09-10 11:15 清风_Z 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 1. k8s概述 Kubernetes(简称K8S) 是Google开源的分布式的容器管理平台,方便我们在服务器集群中管理我们容器化应用。 教程主要介绍怎么使用阿里云容器服务(kubernetes版本)。 2. k8s常用概念介绍 节点 (Master node and Worker node)节点 阅读全文
posted @ 2021-09-06 15:18 清风_Z 阅读(322) 评论(0) 推荐(0) 编辑
摘要: import time class Timer(object): def __init__(self): self.tic() self.elapses = [] def tic(self): self.tstart = time.time() def toc(self, reset=True, m 阅读全文
posted @ 2021-03-03 17:10 清风_Z 阅读(94) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 21 下一页