On 4/2/2014 11:10 PM, Chris Angelico wrote:
On Thu, Apr 3, 2014 at 1:37 PM, Steven D'Aprano <st...@pearwood.info> wrote:
Windows accepts both forward and backslashes in file names.

Small clarification: The Windows *API* accepts both types of slash

To me, that is what Steven said.

(you can open a file using forward slashes, for instance), but not all
Windows *applications* are aware of this (generally only
cross-platform ones take notice of this), and most Windows *users*
prefer backslashes.

Do you have a source for that?

So when you come to display a Windows path, you
may want to convert to backslashes. But that's for display.

--
Terry Jan Reedy

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to