os.path

os.path.basename 取文件路径的文件名,
os.path.dirname(relative_path) 相当于cd ..



posted on 2019-08-09 09:56  黎明NB  阅读(115)  评论(0编辑  收藏  举报

导航