Sujet : Re: pathlib.Path.is_file vs os.path.isfile difference (Posting On Python-List Prohibited)
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.pythonDate : 08. Mar 2024, 22:47:51
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <usfthn$1t89i$2@dont-email.me>
References : 1 2
User-Agent : Pan/0.155 (Kherson; fc5a80b8)
On 8 Mar 2024 18:31:07 GMT, Stefan Ram wrote:
Albert-Jan Roskam <sjeik_appie@hotmail.com> wrote or quoted:
>
I was replacing some os.path stuff with Pathlib
Don't try to fix it if it ain't broke!
I can’t see the point of pathlib. It just seems to be trying to paper over the differences between Windows and *nix systems. Does anybody still care about being compatible with native-Windows any more? After all, that’s what WSL is for.