python中os.path常见用法

参考:http://www.javashuo.com/article/p-xjdrjsdt-w.htmlhtml 1,os.path.abspath(path)        #返回当前文件绝对路径spa 2,os.path.split(path)          #将path分割成目录和文件名二元组返回。htm 3,os.path.dirname(path)         #返回path的目
相关文章
相关标签/搜索