Jupyter Notebook——查看当前文件保存位置

如题

  • jupyter notebook中输入以下代码并运行
import os
print(os.path.abspath('.'))
  • 结果如图
    Jupyter Notebook——查看当前文件保存位置_第1张图片

你可能感兴趣的:(Python,jupyter,python)