Python文件操作

108 阅读1分钟

一、获取文件的目录
os.path.dirname(file)
二、python路径的拼接
www.cnblogs.com/an-ning0920…