10 Aug
2019
10 Aug
'19
4:35 p.m.
On Sat, Aug 10, 2019 at 6:39 PM Paul Moore
There are *many* valid ways to write Windows pathnames in your code:
1. Raw strings 2. Doubling the backslashes 3. Using pathlib (possibly with slash as a directory separator, where it's explicitly noted as a portable option) 4. Using slashes
IMO, using slashes is the *worst* of these. But this latter is a matter of opinion - I've no objection to others believing differently, but I *do* object to slashes being presented as the only option, or the recommended option without qualification.
Please expand on why this is the worst? ChrisA