path.split('\')[-1]
os.path.basename(path)
Python获取路径中最后的文件名,路径
猜你喜欢
转载自blog.csdn.net/qq_36321330/article/details/115119554
今日推荐
周排行