会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
RoyFans
博客园
首页
新随笔
联系
订阅
管理
2017年11月28日
Python 获取文件路径及文件目录
摘要: import os print (os.path.dirname(__file__)) print (os.path.abspath(__file__)) print (os.path.abspath(os.path.dirname(__file__))) print (os.path.dirname(os.path.abspath(__file__)))
阅读全文
posted @ 2017-11-28 09:39 RoyFans
阅读(16414)
评论(0)
推荐(1)
编辑
公告