On Sat, Aug 10, 2019 at 6:39 PM Paul Moore <p.f.mo...@gmail.com> wrote: > 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 _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/PXVO7OT4EK2GRDC5DM6JXMP3WBOVC7DC/