摘要: session = requests.session() 阅读全文
posted @ 2021-05-27 16:35 martinsun 阅读(40) 评论(0) 推荐(0) 编辑
摘要: def hashCode(value): h=0 if h == 0 or len(value) > 0: for i in range(0,len(value)): h = 31*h + int(value[i]); return h 阅读全文
posted @ 2015-12-15 17:31 martinsun 阅读(1881) 评论(0) 推荐(0) 编辑
摘要: pyuic4 -o E:\workspce\PyQtUI\lrxml_mainui.py E:\workspce\QtUI\lrxml.ui 阅读全文
posted @ 2015-12-15 11:56 martinsun 阅读(496) 评论(0) 推荐(0) 编辑
摘要: 报错信息Error: Failed to get JRE version.Check that your PATH environment variable contains \bin directory. [MsgId: MERR-22986]Warning: Extension java_int... 阅读全文
posted @ 2015-12-15 11:53 martinsun 阅读(1143) 评论(0) 推荐(0) 编辑
摘要: 1 import re 2 3 from lxml import etree 4 5 def indent(elem, level=0): 6 i = "\n" + level*"\t" 7 if len(elem): 8 if not elem.text or... 阅读全文
posted @ 2015-12-15 11:49 martinsun 阅读(754) 评论(0) 推荐(0) 编辑
摘要: loadrunner脚本处理--使用UE首尾加"1.CTRL+R 勾选 正则表达式2.替换%[ ^t]+ 为空串3.替换%为"4.替换^p为"^p 阅读全文
posted @ 2015-12-15 11:40 martinsun 阅读(187) 评论(0) 推荐(0) 编辑