pathlib Path("")Path()Path(".")Path.cwd() os getcwd() 都是控制台入口位置 而不是脚本所在位置 原创作者: save 转载于: https://blog.51cto.com/save/11663513