Python File(文件) 方法 Python OS 文件/目录方法 ... os.path.dirname(path), 返回文件路径 ... os.path.split(path), 把路径分割成dirname 和basename,返回一个元组.
確定! 回上一頁