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