码迷,mamicode.com
首页 > 编程语言 > 详细

python pathlib学习

时间:2020-04-18 18:55:12      阅读:67      评论:0      收藏:0      [点我收藏+]

标签:文章   earth   python   tps   __file__   https   com   文件   www   

第一次学习看到的文章链接:https://blog.csdn.net/amanfromearth/article/details/80265843

Path(__file__) 返回当前文件的绝对路径,Path(__file__).parent 返回的是当前文件的上一级路径。https://www.cnblogs.com/ajaxa/p/9016475.html

python pathlib学习

标签:文章   earth   python   tps   __file__   https   com   文件   www   

原文地址:https://www.cnblogs.com/yizhou93/p/12727211.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!