python os.path模块
摘要:os.path.abspath(path) #返回绝对路径 os.path.basename(path) #返回文件名 os.path.commonprefix(list) #返回list(多个路径)中,所有path共有的最长的路径。 os.path.dirname(path) #返回文件路径 os
阅读全文
posted @ 2017-02-27 20:44
posted @ 2017-02-27 20:44
posted @ 2017-02-23 16:41
posted @ 2017-02-23 15:58
posted @ 2017-02-22 22:38