Vincent FUNG 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
Vincent FUNG added the comment:
Oh. Got it.
I thought pathlib would solve this problem completely now, without having to
replace the slashes. Thank you for your patient answer.
--
resolution: -> not a bug
stage: -> resolved
status: open -&g
Vincent FUNG added the comment:
This problem occurs when the directory starts with 't', but works with
os.makedirs(e) or macOS.
>>> e = Path(r'F:\ceven\test2')
>>> e.mkdir()
Traceback (most recent call last):
File "", line 1, in
File &
New submission from Vincent FUNG :
This problem occurs when the directory starts with 't', but works with
os.makedirs(e) or macOS.
>>> e = Path(r'F:\ceven\test2')
>>> e.mkdir()
Traceback (most recent call last):
File "", line 1, in
File &