[issue46916] There is a problem with escape characters in the path passed in by pathlib.Path.mkdir()
Eryk Sun
report at bugs.python.org
Thu Mar 3 21:00:15 EST 2022
Eryk Sun <eryksun at gmail.com> added the comment:
> FileNotFoundError: [WinError 3] The system cannot find
> the path specified: 'F:\\ceven\\test2'
The Windows error code, ERROR_PATH_NOT_FOUND (3), indicates that the parent path, r"F:\ceven", does not exist. Try e.mkdir(parents=True) [1].
[1] https://docs.python.org/3/library/pathlib.html#pathlib.Path.mkdir
----------
nosy: +eryksun
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46916>
_______________________________________
More information about the Python-bugs-list
mailing list