07 2018 档案

摘要:goodbye! 阅读全文
posted @ 2018-07-31 16:47 旅行没有终点 阅读(311) 评论(0) 推荐(0)
摘要:A、time模块 1. sleep():强制等待 time.struct_time(tm_year=2018, tm_mon=7, tm_mday=31, tm_hour=7, tm_min=32, tm_sec=9, tm_wday=1, tm_yday=212, tm_isdst=0) time 阅读全文
posted @ 2018-07-31 15:30 旅行没有终点 阅读(272) 评论(0) 推荐(0)
摘要:c:\ab\bc\cd\ c:\a c:\a >>> re.findall("abc\b","adsssa abc ")[]>>> re.findall(r"abc\b","adsssa abc ")['abc']>>> re.findall(r"abc\b","adsssa abc*")['abc 阅读全文
posted @ 2018-07-31 11:41 旅行没有终点 阅读(8085) 评论(0) 推荐(1)
摘要:['a', 'b', 'c', 'd e'] ['a', 'b', 'c', 'd e'] None None <_sre.SRE_Match object at 0x0000000002565510> 12 3 5 (3, 5) ['', 'one', 'two', 'three', 'four' 阅读全文
posted @ 2018-07-29 16:03 旅行没有终点 阅读(435) 评论(0) 推荐(0)
摘要:1.冒泡算法 hello hello hello F1 end end end 如果加上一个参数 hello hello hello F1 end end end 如果加上多个参数,每个函数参数不一样,万能装饰器 hello hello hello F1 end end end hello hell 阅读全文
posted @ 2018-07-28 15:26 旅行没有终点 阅读(175) 评论(0) 推荐(0)
摘要:<map object at 0x0000000001E9FFD0> #(python3执行结果) [1, 9, 25, 49, 81](python2执行结果) [1, 9, 25, 49, 81] <map object at 0x00000000028F4160> 9 25 81 <map o 阅读全文
posted @ 2018-07-27 16:16 旅行没有终点 阅读(235) 评论(0) 推荐(0)
摘要:解决方案一:(推荐) 打开jenkins 系统管理 输入: System.setProperty("hudson.model.DirectoryBrowserSupport.CSP","") 后,点击运行,再清理浏览器缓存(ctrl+shift+delete)即可,重新运行一次job就可以查看rep 阅读全文
posted @ 2018-07-27 09:17 旅行没有终点 阅读(1909) 评论(0) 推荐(1)
摘要:一、配置系统管理-系统设置: A.系统管理--系统设置--Jenkins Location-系统管理员邮件地址:配置管理员邮箱全称(qq,163等都可以) B.配置管理员邮箱属性: 1.输入smtp服务器:smtp.qq.com 2.邮箱后缀:@qq.com 3.点击高级 C.配置管理员邮箱属性-配 阅读全文
posted @ 2018-07-26 10:42 旅行没有终点 阅读(313) 评论(0) 推荐(0)
摘要:A、前期准备: 1.登录jenkins 2.系统管理-插件管理-高级-上传插件(http://mirrors.jenkins-ci.org/plugins/robot/,中选择一个版本的插件下载至本地,然后上传)-点击上传 提交 3.系统配置-全局安全配置(Configure Global Secu 阅读全文
posted @ 2018-07-25 16:47 旅行没有终点 阅读(1996) 评论(0) 推荐(0)
摘要:1. jenkins包下载,下载地址:https://jenkins.io/download/ 版本:Jenkins 2.134,下载war包 2. JDK下载:下载地址:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-dow 阅读全文
posted @ 2018-07-25 13:44 旅行没有终点 阅读(1249) 评论(0) 推荐(0)
摘要:11 44 {'a': '11', 'c': '33', 'b': 'abc', 'd': '44'} {'a': '11', 'b': 'abc', 'd': '44'} {} 4 {'a': None, 'c': None, 'b': None, 'd': None} {'a': 20, & 阅读全文
posted @ 2018-07-23 17:26 旅行没有终点 阅读(295) 评论(0) 推荐(0)
摘要:['111', '222', 'abc', 'women', '[11,22,33]'] ['111', 'abc', 'women', '[11,22,33]'] 4 ['aaa', 'bbb', 'ccc', 'ddd', '11', '22', '33'] ['aaa', 'bbb', 'cc 阅读全文
posted @ 2018-07-23 15:02 旅行没有终点 阅读(356) 评论(0) 推荐(0)
摘要:True True False True False True True False True False False True Traceback (most recent call last): File "D:/zhiliangbaozhangbu/06workspace/chushujin/ 阅读全文
posted @ 2018-07-23 10:15 旅行没有终点 阅读(451) 评论(0) 推荐(0)
摘要:1. 定义函数 def 函数名(形参): 函数体 return xxx 其下面的内容不再执行 2.执行函数 函数名(实参) 3.形参,实参(默认按照顺序) 4.执行形参传入实参,可不按照顺序 5.函数可以有默认参数 ((123, 234, [456123789], {1: 2}), <type 't 阅读全文
posted @ 2018-07-22 17:43 旅行没有终点 阅读(175) 评论(0) 推荐(0)
摘要:set([])set([33, 11, 22]) set([33, 11, 44, 22]) set(['1', '3', '2', '5', '4', '6']) set([]) set([44]) set([33, 11]) set([55]) None set([33, 11]) set([2 阅读全文
posted @ 2018-07-22 15:53 旅行没有终点 阅读(247) 评论(0) 推荐(0)
摘要:1.数据库sql语句:SELECT seat_id FROM netsale_order_seat os join netsale_order nor on os.order_code=nor.order_code WHERE pay_order_no=${order_id[0]}; 报错信息:(1 阅读全文
posted @ 2018-07-18 16:59 旅行没有终点 阅读(279) 评论(0) 推荐(0)
摘要:1.random()生成0<=n<1之间的随机实数--它会生成一个随机的浮点数,范围是在0.0~1.0之间。: ${num} evaluate random.random() random log ${num} 2.choice(seq)从序列中返回随机的元素: ${a1} evaluate ran 阅读全文
posted @ 2018-07-17 17:43 旅行没有终点 阅读(561) 评论(0) 推荐(0)
摘要:1. 从数据库查询结果: 数据库连接:Connect To Database Using Custom Params 用法:Connect To Database Using Custom Params pymysql host='${base_ip}',user='root',passwd='aa 阅读全文
posted @ 2018-07-17 17:01 旅行没有终点 阅读(544) 评论(0) 推荐(0)
摘要:1.常用关键字介绍: a. 打印:log 用法:log 打印内容 b.定义变量:Set Variable 用法:${name} Set Variable hello world c.创建字典:Create Dictionary 用法:${dict} Create Dictionary a=1 b=2 阅读全文
posted @ 2018-07-11 14:31 旅行没有终点 阅读(535) 评论(0) 推荐(1)
摘要:202cb962ac59075b964b07152d234b70 40bd001563085fc35165329ea1ff5c5ecbdbbeef a665a45920422f9d417e4867efdc4fb8a04a1f3fff1fa07e998e86f7f7a27ae3 9a0a82f0c0c 阅读全文
posted @ 2018-07-11 14:02 旅行没有终点 阅读(751) 评论(0) 推荐(0)
摘要:1.安装python并验证安装成功 a.安装python-2.7.14.amd64 默认路径安装即可 b.添加环境变量path:C:\Python27; C:\Python27\Scripts c.验证:cmd 输入python --version或pip 没有报错就说明安装成功 2.安装wxPyt 阅读全文
posted @ 2018-07-11 10:24 旅行没有终点 阅读(388) 评论(0) 推荐(0)
摘要:1.变量名 数字,字母,下划线:aaa1;aa_b1 不能以数字开头:1aa 变量名不能是python内部的关键字 2.getpass 3.基本if条件语句 4.while循环语句 5.break 6.continue 8.逻辑运算符: and 布尔与 or布尔或 not布尔非 \=:同上 9.成员 阅读全文
posted @ 2018-07-08 17:22 旅行没有终点 阅读(171) 评论(0) 推荐(0)
摘要:1.python官方下载地址:https://www.python.org/;python现在有两个版本:python2.7.x和python3.x 2.安装:一路下一步,默认安装 3.配置环境变量:计算机--右键--属性--高级系统设置--环境变量--系统变量:找到path在结尾处粘贴‘C:\Py 阅读全文
posted @ 2018-07-08 11:37 旅行没有终点 阅读(171) 评论(0) 推荐(0)