自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(16)
  • 资源 (3)
  • 收藏
  • 关注

原创 win32com API部分

1,窗口管理2,窗口通用控制3,shell特性4,图形设备接口5,系统特性6,国际特性7,网络服务

2020-04-08 09:30:37 549

原创 TCP介绍

TCP首部有6个标志比特。SYN是其中之一,它是个同步序号,当TCP连接建立时SYN置1一般请求端会发送一个报文,其中包含这样的字段,SYN1415531521:1415531521(0)。然后服务端接收到后会返回一个ack1415531522,ack表示确认收到。SYN,ACk是标志位。SEQ,AN是数据包序号SYN=1,ACK=0,SEQ=200的意思是:接收端的确认消息,且接收端...

2020-03-20 16:22:46 178

原创 random库

random库包含random:用于生成一个从零到1的随机浮点数uniform:用于生成一段范围的随机浮点数(A,B)randint:用于生成范围内的随机整数(A,B)choice:范围内随机返回一个随机数shuffle:将一个范围内的随机数随机打乱sample:随机截取指定长度的一段数字...

2020-03-20 15:52:30 153

翻译 Tesseract download address

https://github.com/UB-Mannheim/tesseract/wiki曼海姆大学的Tesseract曼海姆大学图书馆(UB Mannheim)使用Tesseract对德国历史报纸(AllgemeinePreußischeStaatszeitung,Deutscher Reichsanzeiger)进行OCR(光学字符识别)。在线提供了超过360,000次扫描的OCR最新结果...

2020-03-14 15:22:51 524

原创 pip国内镜像源

1,阿里云 http://mirrors.aliyun.com/pypi/simple/2,豆瓣http://pypi.douban.com/simple/3,清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/4,中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/5,华中科技大学http://pypi....

2020-03-13 09:33:03 157

原创 pycharm虚拟环境安装CV2Could not find a version that satisfies the requirement cv2 (from versions: none)

1,pip install opencv-python

2020-03-13 09:25:42 338

原创 pycharm虚拟环境升级pip报错

1.虚拟环境命令行输入easy_install -U pip

2020-03-13 09:21:07 425

翻译 pydoc在线文档帮助pycharm

26.1。pydoc —文档生成器和在线帮助系统源代码: Lib / pydoc.py的是pydoc模块自动从Python模块生成文档。该文档可以在控制台上以文本页面的形式呈现,提供给Web浏览器或保存为HTML文件。内置函数help()在交互式解释器中调用联机帮助系统,该系统使用pydoc在控制台上以文本形式生成其文档。通过在操作系统的命令提示符下将pydoc作为脚本运行,也可以从Pyth...

2020-03-12 16:08:53 433

翻译 翻译pycharm

开始吧PyCharm是专用的Python集成开发环境(IDE),为Python开发人员提供了广泛的基本工具,它们紧密集成在一起,从而为生产性Python,Web和数据科学开发创造了便利的环境。认识PyCharmPyCharm版本PyCharm提供三个版本:Professional,Community和Edu。在社区和埃杜的版本都是开放源代码的项目,它们是免费的,但他们有较少的特点。P...

2020-03-12 15:40:43 732

原创 requests基础

request.request()构造一个请求,支持以下各种方法request.get()向html网页提交get请求request.post()向网页提交post请求request;head()获取html头部信息的主要方法request;.put()向html网页提交put请求resquest.options()向网页提交options请求的方法request.patch()向HT...

2020-03-12 10:30:57 139

原创 html javascript试手 删去标号和,之后保存为.html文件

1,我的第一段 JavaScript点击这里来显示日期和时间2,JavaScript 能做什么JavaScript 能够改变 HTML 内容。点击我!3,JavaScript 能够做什么JavaScript 能够改变 HTML 元素的样式。点击我! 4,JavaScript 能够做什么JavaScript 能够改变 HTML 元素的样...

2020-03-12 09:35:13 99

原创 url基础

网络爬虫协议1,根据网页的地址寻找网页2,网页的地址又称为URL3,URL又称为统一资源定位符4,protocol://hostname[:port]/path/[;parameters][?query]#fragmentprotocol:第一部分就是协议,http、httpshostname[:port]第二部分是主机名(还有端口号是可选参数)。一般网站默认为80path 第三部分...

2020-03-12 09:33:44 231

原创 css选择器

1,class2,#id3,*4,element5,element,element 选择所有双元素6,element element 选择前元素内的后元素7,element>element 选择所有父元素内的所有子元素8,element+element 选择所有紧接着前元素的后元素9,【attribute】 选择所有带有指定属性的元素10,【attribute=value】...

2020-03-10 10:34:08 226

原创 css属性

1,动画属性 animation2,背景属性 background3,边框属性 border4,轮廓属性 outline5,盒子属性 box6,颜色属性 color7,内边距属性 padding8,媒体页面内容属性 bookmark9,尺寸属性 dimension10,弹性盒子模型(Flexible Box)新11,弹性盒子模型(Flexible Box)旧12,字体 fon...

2020-03-10 09:08:49 131

原创 软件测试

1.关于软件测试,首先功能测试,其后性能测试,其后接口自动化测试。2.selenium和python连接起来可以通过驱动谷歌浏览器进行网页访问。

2020-03-04 13:40:18 123

原创 软件测试概要

1.基本定义1.错误—人类会犯错误(mistake)2.缺陷—缺陷是错误的结果3.失效(failure)—当缺陷执行时会发生失效4.事故(incident)—警告用户注意所出现的失效5.测试(test)—测试来处理错误,缺陷,失效和事故2.测试用例定义1.一个与程序行为有关的标识,对应一组输入和预期输出表2.测试计划,测试用例开发,运行测试用例,评估测试结果3.针对要测试的内容编...

2020-02-23 20:46:19 639

史上最全的测试用例设计方法总结.doc

软件测试用例编写方法。

2020-03-10

tesseract4.0引擎,亲测可用.zip

可以安装,可以使用20200323前不久刚安装过 How to run UNLV tests. The scripts in this directory make it possible to duplicate the tests published in the Fourth Annual Test of OCR Accuracy. See http://www.isri.unlv.edu/downloads/AT-1995.pdf but first you have to get the tools and data from UNLV: Step 1: to download the images goto http://www.isri.unlv.edu/ISRI/OCRtk and get 3b.tgz, Bb.tgz, Mb.tgz and Nb.tgz. Step 2: extract the files. It doesn't really matter where in your filesystem you put them, but they must go under a common root so you have directories 3, B, M and N in, for example, /users/me/ISRI-OCRtk. Step 3: Reorg the files The lack of tif extensions on the images is inconvenient, so there is a script to reorganize the data to match the rest of the test scripts. cd to /users/me/ISRI-OCRtk or wherever 3, B, M and N ended up and run /blah/blah/tesseract-ocr/testing/reorgdata.sh 3B This makes directories doe3.3B, bus.3B, mag.3B and news.3B. You can now get rid of 3, B, M, and N unless you want to get some of the other scanning resolutions out of them. Step 4: Download the ISRI toolkit from: http://www.isri.unlv.edu/downloads/ftk-1.0.tgz Step 5: If they work for you, use the binaries directly from the bin directory and put them in tesseract-ocr/testing/unlv otherwise build the tools for yourself and put them there. Step 6: cd back to your main tesseract-ocr dir and Build tesseract. Step 7: run testing/runalltests.sh with the root data dir and testname: testing/runalltests.sh /users/me/ISRI-OCRtk tess2.0 and go to the gym, have lunch etc. Step 8: There should be a file testing/reports/tess2.0.summary that contains the final summarized accuracy report and comparison with the 1995 results.

2020-03-23

3.js一盏灯亮灭.rar

os.makedirs 可以递归的创建目录结构,比如 import os os.makedirs('tmp/python/fileop',exist_ok=True) 会在当前工作目录下面创建 tmp目录,在tmp目录下面再创建 python目录,在Python目录下面再创建fileop目录 exist_ok=True 指定了,如果某个要创建的目录已经存在,也不报错

2020-03-11

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除