摘要: 1、eclipse运行java报错 The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path th 阅读全文
posted @ 2019-06-05 12:02 一直前行 阅读(5777) 评论(2) 推荐(0) 编辑
摘要: 基本步骤: 截取定位验证码-》使用image的crop函数,再次截取需要的区域-》保存截下来的区域进行打码time-》图像加强,二值化-》增强对比度-》输出验证码 通过PIL+pytesseract+Tesseract-OCR实现验证码的识别 PIL为Python Imaging Library。( 阅读全文
posted @ 2019-06-05 11:58 一直前行 阅读(1221) 评论(0) 推荐(0) 编辑
摘要: 由于github是通过ssh连接的,为方便使用,在本地创建一个连接: 1、登录https://github.com注册github账号 2、登录https://git-scm.com/downloads下载github,且安装 3、桌面右键,进入Git Bash Here 4、配置sshkey 生成 阅读全文
posted @ 2019-06-05 11:44 一直前行 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 使用pymysql驱动访问数据库,所以前提要装好了pymysql。(可通过pip install pymysql安装) #-*- coding:utf-8 -*- import pymysql #连接数据库 connection=pymysql.connect(db='数据库库名', user='用 阅读全文
posted @ 2018-09-30 15:40 一直前行 阅读(7909) 评论(0) 推荐(0) 编辑
摘要: 安装Robotframework 1、 Python27安装,设置环境变量 python27(由于RIDE官方最新只支持python27,避免扩展,就用Python27。且python27自带pip和setuptools,综合,这个版本比较方便) 下载地址:https://www.python.or 阅读全文
posted @ 2018-09-15 17:00 一直前行 阅读(1741) 评论(0) 推荐(0) 编辑
摘要: Fiddler版本: v5.0.20173.49666 for .NET 4.6.1Built: 2017年12月4日 1、打开Rules->Customize Rules... 2、找到m_SimulateModem设置,可设置请求或响应的延迟时间 3、最后勾上Rules->Performance 阅读全文
posted @ 2018-09-11 17:53 一直前行 阅读(3735) 评论(0) 推荐(0) 编辑
摘要: 一、 安装 1、 下载.tar包的tpcc-mysql 2、 上传到服务器(rz) 3、 解压(tar -zxvf tpcc-mysql-src.tar) 二、 准备数据库 进入数据库,运行create_table.sql,add_fkey_idx.sql这两张表(这两张表通过tpcc-mysql解 阅读全文
posted @ 2018-08-03 17:29 一直前行 阅读(695) 评论(0) 推荐(0) 编辑
摘要: 一、安装 1、下载地址: https://github.com/akopytov/sysbench/tree/0.5 2、上传到服务器 刚部署的服务器,可能没有编译环境(可安装编译环境:安装编译环境:yum groupinstall -y "development tools") Rz命令(如果服务 阅读全文
posted @ 2018-08-03 14:42 一直前行 阅读(443) 评论(0) 推荐(0) 编辑
摘要: 1、引用csv文件 2、Csv文件显示格式,以参数一,参数二格式显示 3、将csv文件引用到请求参数里边 阅读全文
posted @ 2018-07-31 14:16 一直前行 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 1、JAVA环境,配置相应环境变量。 查看是否配置成功如下: 2、python环境,配置相应环境变量。包括python和Python/Scripts两个路径 查看是否配置成功如下: 3、安装selenium 通过pip安装,python路径下输入:py -2 -m pip install selen 阅读全文
posted @ 2018-06-10 00:00 一直前行 阅读(132) 评论(0) 推荐(0) 编辑