• pathlib
  • Path("")
  • Path()
  • Path(".")
  • Path.cwd()
  • os
  • getcwd()
  • 都是控制台入口位置 而不是脚本所在位置