01 2018 档案

摘要:1.编辑定时任务信息 编辑内容如下: 频率表达式分别对应为 分、时、日、周、月 2.crontab运行python脚本时(不局限为python,主要是系统环境变量问题),发现不运行 因为是以root用户运行,是以系统环境变量运行的,没找到python3路径 所以在要执行的shell文件中加入(可以在 阅读全文
posted @ 2018-01-27 18:31 zipon 阅读(493) 评论(0) 推荐(0) 编辑
摘要:import hashlibdef get_token(): md5str = "abc" #生成一个md5对象 m1 = hashlib.md5() #使用md5对象里的update方法md5转换 m1.update(md5str.encode("utf-8")) token = m1.hexdi 阅读全文
posted @ 2018-01-24 11:11 zipon 阅读(16765) 评论(0) 推荐(0) 编辑
摘要:【转】http://wenqiang-china.github.io/2016/05/13/python-opetating-excel/ 阅读全文
posted @ 2018-01-24 11:08 zipon 阅读(231) 评论(0) 推荐(0) 编辑
摘要:pytest命令行执行默认不会打印log信息,需要加‘-s’参数或者 ‘–capture=no’,即pytest -s 阅读全文
posted @ 2018-01-15 18:28 zipon 阅读(2689) 评论(0) 推荐(0) 编辑
摘要:inspect.stack()[1][3] 阅读全文
posted @ 2018-01-13 15:20 zipon 阅读(1408) 评论(0) 推荐(0) 编辑
摘要:https://image.uc.cn/s/customer/g/2018/1/user/18010612586784cf688cb9696a2f2198a61c47b237 阅读全文
posted @ 2018-01-06 14:25 zipon 阅读(847) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示