摘要: Appium自动化测试 介绍 中文文档网址:http://appium.io/docs/cn/about-appium/intro/ 1、启动项配置 参数参考:https://blog.csdn.net/ljl6158999/article/details/80594521 ADB常用命令 命令 作 阅读全文
posted @ 2021-02-25 17:47 LForest 阅读(93) 评论(0) 推荐(0) 编辑
摘要: regedit 计算机\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion 阅读全文
posted @ 2021-02-06 12:03 LForest 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 原因:上线时总是需要统计本次上线dll的版本号,一个个看属性太费劲了,用python实现查看文件的版本号,写入excel 步骤:1、遍历目录下所有文件, 2、得到文件的版本号,修改时间 3、写入excel import time from common import Common from exce 阅读全文
posted @ 2021-01-17 14:32 LForest 阅读(486) 评论(0) 推荐(0) 编辑
摘要: 1、修改bin目录下jmeter.properties 2、去掉注释并设置language=zh_CN 阅读全文
posted @ 2020-12-31 13:37 LForest 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 远程拉取 0、新建文件夹 1、初始化 git init 2、建立连接 git remote add origin https://github.com/chenglin-Zhang/work.git 3、远程分支拉取本地 git fetch origin wincor (wincor为远程仓库的分支 阅读全文
posted @ 2020-12-05 13:20 LForest 阅读(59) 评论(0) 推荐(0) 编辑
摘要: import re import os import xlwt ''' 1、读取数据 2、处理数据 3、写入数据 ''' path = "./5.log" f = open(path, encoding='utf8') lines = f.readlines() file_name = '提取数据. 阅读全文
posted @ 2020-11-11 20:41 LForest 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 代码来源——————https://blog.csdn.net/mabing993/article/details/79253748 暂时保存, 再做研究。 #!/usr/bin/python3 # coding: utf-8 import smtplib from email import enc 阅读全文
posted @ 2020-09-28 19:30 LForest 阅读(198) 评论(0) 推荐(0) 编辑
摘要: ''' 1、读取mysql数据 2、数据写入Excel ''' import pymysql import os import xlwt class Test(object): def __init__(self): self.host = "127.0.0.1" self.port = 3306 阅读全文
posted @ 2020-09-18 17:41 LForest 阅读(613) 评论(0) 推荐(0) 编辑
摘要: 新建一个仓库,并且该仓库应该是git类型 1.1 git init新建git类型的仓库 新建文件并放入git仓库 2.1 touch a.txt touch a.txt或者vi 2.2 git add 将新建的a.txt纳入git管理 2.3 git status,查看文件在git仓库中的状态 2. 阅读全文
posted @ 2020-09-16 17:51 LForest 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 1、重启tomcat 使用命令:ps: 查询tomcat进程号 kill:杀死tomcat进程 步骤: 1)ps -ef | grep tomcat 查询tomcat进程号, 2)kill -9 进程号 强制杀死该进程2 3)ps -ef | grep tomcat 再次查询进程是否已经被杀死 4) 阅读全文
posted @ 2020-05-19 11:32 LForest 阅读(281) 评论(0) 推荐(0) 编辑