Unicode Chars in Windows Path
Terry Reedy
tjreedy at udel.edu
Thu Apr 3 14:41:29 EDT 2014
On 4/2/2014 11:10 PM, Chris Angelico wrote:
> On Thu, Apr 3, 2014 at 1:37 PM, Steven D'Aprano <steve at 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
More information about the Python-list
mailing list