摘要: os.path.abspath(path) #返回绝对路径os.path.basename(path) #返回文件名os.path.commonprefix(list) #返回list(多个路径)中,所有path共有的最长的路径。os.path.dirname(path) #返回文件路径os.pat... 阅读全文
posted @ 2014-08-20 10:32 凉皮子 阅读(165) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-08-20 10:11 凉皮子 阅读(20) 评论(0) 推荐(0) 编辑