知识
资料
日志
- python logging日志模块以及多进程日志,多进程时rotating会在切换时异常
- log
- 教程
pandas
语法
- json字段检查 : if 'data' in result:
- 变量存在 : if data:
- 文件操作
for root, dirs, files in os.walk(path): for file in fnmatch.filter(files, '*.py'): path=os.path.join(root,file)
- 执行命令:ret = os.system('ping %s' % (ip))