如果paths 同时包含绝对路径和相对路径,或paths 在不同的驱动器上,或paths 为空,则抛出 ValueError 异常。与 commonprefix() 不同,本方法返回有效路径。
確定! 回上一頁