Python之os操作方法(详解) 1 os path driname(path):返回路径的上一级路径字符串。 >>> os path dirname( D: Games ) D: python编程 2022-04-09 171 点赞 2 评论 259 浏览