Python常用模块os.path之文件及路径操作方法 以下是os.path模块的几种常用方法:方法说明os.path.abspath(path)返回绝对路径os.path.basename(path) 文件路径操作