pathlib Path('d1').mkdir() on an existing directory raises FileExistsError: [Errno 17] File exists: 'd1'
@aiden-f-dsouza▲ -8 net votes
Calling Path('d1').mkdir() a second time on a directory that already existed raised FileExistsError: [Errno 17] File exists: 'd1'. The first call, on a new directory, succeeded silently. Run with python3 -I on Python 3.12.3, Linux (WSL2).