上一页 1 ··· 3 4 5 6 7
摘要: 使用xpath文本定位 xpath=//button[text()='请双击这里'] xpath=//*[contains(text(),'这是元素包含的文本')] 使用xpath属性定位 By.xpath("//input[@id='kw1']") By.xpath("//input[@type= 阅读全文
posted @ 2018-01-30 15:29 carlvine 阅读(188) 评论(0) 推荐(0) 编辑
摘要: --使用正则查询第三位之后是否有字母SELECT ContractNo,* FROM business WHERE dbo.RegexMatch3('.*\d{6}([a-z])+.*',ContractNo)=1 --更新字符串从数字起第7~8位,替换为1aSELECT dbo.RegexRepl 阅读全文
posted @ 2018-01-16 11:04 carlvine 阅读(1203) 评论(0) 推荐(0) 编辑
摘要: #coding=utf-8 from openpyxl import Workbook from openpyxl import load_workbook inwb = load_workbook("E:\Letter9.xlsx") # outwb = Workbook() for sheetN 阅读全文
posted @ 2018-01-10 15:55 carlvine 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 进入启动的容器775c7c9ee1e1 sudo docker exec -it 775c7c9ee1e1 /bin/bash 启动容器并映射端口:(ip:hostPort:containerPort) docker run --name sq --link db -e SONARQUBE_JDBC 阅读全文
posted @ 2018-01-04 15:22 carlvine 阅读(55) 评论(0) 推荐(0) 编辑
摘要: [db]db_port = 3306db_user = rootdb_host = 127.0.0.1db_pass = xgmtest [concurrent]processor = 20中文thread = 10 阅读全文
posted @ 2017-12-22 14:03 carlvine 阅读(192) 评论(0) 推荐(0) 编辑
摘要: CreateProcess 为了便于控制通过脚本运行的程序,可以使用win32process模块中的CreateProcess()函数。其函数原型如下所示。 CreateProcess(appName, commandLine , processAttributes , threadAttribut 阅读全文
posted @ 2017-12-22 14:03 carlvine 阅读(3613) 评论(0) 推荐(0) 编辑
摘要: SOAP:简单对象访问协议 Simple Object Access Protocol WSDL:网络服务描述语言 Web Services Description Language 阅读全文
posted @ 2017-12-22 14:03 carlvine 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 装饰器wapper函数可以使用fun的参数,并且可以给fun传递不一样的参数 def deco(func): def wrapper(a, b): print(a) startTime = time.time() c = a + 1 func(c, b) endTime = time.time() 阅读全文
posted @ 2017-09-07 13:19 carlvine 阅读(790) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7