AttributeError: Path object has no attribute joinpath

AttributeError: 'Path' object has no attribute 'joinpath'

同一个py文件,导入多个Path ,名字重复。
解决方法,重命名:

from pathlib import Path as plPath

你可能感兴趣的:(python,python)