摘要: os.path.basename(path): 返回path最后的文件名称 >>> import os >>> path = "usr/linxi/Desktop/data.cvs" >>> os.path.basename(path) 'data.cvs' >>> path = "c:\windo 阅读全文
posted @ 2020-11-17 16:56 r1-12king 阅读(322) 评论(0) 推荐(0) 编辑