开发者社区 问答 正文

Python模块中的os.path.commonprefix(list)方法的作用是什么?

Python模块中的os.path.commonprefix(list)方法的作用是什么?

展开
收起
游客k7rjnht6hbtk6 2021-11-10 22:53:32 425 分享 版权
1 条回答
写回答
取消 提交回答
  • 返回list(多个路径)中,所有path共有的最长的路径

    2021-11-12 22:44:58
    赞同 展开评论