上一页 1 ··· 7 8 9 10 11 12 下一页
摘要: 一、日志打印 import os import logbook from logbook.more import ColorizedStderrHandler from functools import wraps check_path='.' LOG_DIR = os.path.join(chec 阅读全文
posted @ 2019-03-25 20:10 whitewall 阅读(979) 评论(0) 推荐(0)
摘要: 一、请求方式:get、post、put、delete、head、options 二、cookies 应用:通过fiddler抓包获取登录前后cookies的差异,然后将差异set到刚登录的cookies中,再次请求就能登录了。 三、上传文件 四、xml转json 例子: 阅读全文
posted @ 2019-03-19 19:53 whitewall 阅读(253) 评论(0) 推荐(0)
摘要: 一、参数传递 #包裹位置传递 def func(*name): print( type(name), name) func(1,4,6) func(5,6,7,1,2,3) ''' 运行结果: <class 'tuple'> (1, 4, 6) <class 'tuple'> (5, 6, 7, 1 阅读全文
posted @ 2019-03-17 15:04 whitewall 阅读(277) 评论(0) 推荐(0)
摘要: 一、时间 import time print('获取当前时间<str类型>: ', time.strftime('%Y-%m-%d %H:%M:%S',time.localtime()) ) #获取当前时间<str类型>: 2019-03-14 21:53:28 print('获取当前时间戳<flo 阅读全文
posted @ 2019-03-14 20:49 whitewall 阅读(281) 评论(0) 推荐(0)
摘要: 一、filter(function, sequence): 对sequence中的item依次执行function(item),将执行结果为True的item组成一个List/String/Tuple(取决于sequence的类型)。 filter(function or None, sequenc 阅读全文
posted @ 2019-03-13 19:42 whitewall 阅读(1259) 评论(0) 推荐(1)
摘要: 一、oracle常用数据类型 二、日期查询 select * from table where date_create >to_date('2019-03-12 20:07:19','yyyy-mm-dd hh24:mi:ss') 三、sql执行顺序 查询中用到的关键词主要包含六个,并且他们的书写顺 阅读全文
posted @ 2019-03-10 13:01 whitewall 阅读(337) 评论(0) 推荐(0)
摘要: 一、插件:Email Extension 二、系统设置(以下三步都是同一个发件箱) 1、系统管理员邮件地址 (必须要配置) 2、Extended E-mail Notification(和第一步同一个邮箱) 3、E-mail Notification邮件通知设置如下,点击Test configura 阅读全文
posted @ 2019-03-09 18:54 whitewall 阅读(286) 评论(0) 推荐(0)
摘要: 一、新增 1.1【插入单行】:insert into <表名> (列名) values (列值) 1.2【将现有表数据添加到一个已有表】:insert into <已有表> (列名) select <原表列名> from <原表名> 例:insert into tongxunlu ('姓名','地址 阅读全文
posted @ 2019-03-07 20:50 whitewall 阅读(281) 评论(0) 推荐(0)
摘要: 一、卸载mysql 因为很久之前装过mysql,很多东西忘了,所以在写下这篇文章总结时就准备重新来一遍。 1、打开控制面板,点击程序和功能,卸载MySQL; 2、win+r键,运行regedit,按HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Ev 阅读全文
posted @ 2019-03-06 20:50 whitewall 阅读(258) 评论(0) 推荐(0)
摘要: 1、下载地址:https://jenkins.io/download/ 2、点击jenkins.msi傻瓜式安装即可 3、插件安装(系统管理--》插件管理) 1)因为源码是本地的gitblit上,所以需要安装git相关插件; 2)HTML报告插件:htmlpublisher 4、设置 1)系统管理- 阅读全文
posted @ 2019-03-02 17:40 whitewall 阅读(241) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 下一页