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