摘要: 1.遍历目录 os.walk() import os for root, dirs, files in os.walk(path): for name in files: print(os.path.join(root, name)) for name in dirs: print(os.path. 阅读全文
posted @ 2019-06-14 17:20 无左无右 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 1 阅读全文
posted @ 2019-06-14 15:03 无左无右 阅读(1085) 评论(0) 推荐(0) 编辑
摘要: ubuntu如何快速格式化json文件 https://jingyan.baidu.com/article/15622f242d1db5fdfcbea5bd.html 安装jq工具 格式化json文件输出到新文件 例子: 然后就可以用文本打开了。之前试了用vscode安装各种json插件都不行。 打 阅读全文
posted @ 2019-06-14 14:57 无左无右 阅读(2874) 评论(0) 推荐(0) 编辑