问题一
描述
发现文件夹中文件是正常存在的
解决办法:
在上面图片中的core.py里面,将with open(inpath, ..) ..... 中的inpath改成str(inpath),遍历所有的上述问题,解决。
具体原因:
pathlib
integrates seemlessly with open
only in Python 3.6 and later. From Python 3.6's release notes:
The built-in
open()
function has been updated to acceptos.PathLike
objects, as have all relevant functions in theos
andos.path
modules, and most other