[issue46916] There is a problem with escape characters in the path passed in by pathlib.Path.mkdir()

Vincent FUNG report at bugs.python.org
Fri Mar 4 08:21:07 EST 2022


Vincent FUNG <vincent201399 at gmail.com> added the comment:

Thank you very much for your patient answer, I am still a developer who has just started, and it seems that I need to learn more about it.

I used repr().replace to replace with forward slashes, and also restricted paths ending in a slash to Improve reliability.

Thanks anagin. ;)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46916>
_______________________________________


More information about the Python-bugs-list mailing list