python 2.7.12 on Linux behaving differently than on Windows

Grant Edwards grant.b.edwards at
Thu Dec 8 12:16:29 EST 2016

On 2016-12-08, eryk sun <eryksun at> wrote:
> On Thu, Dec 8, 2016 at 4:34 PM, Grant Edwards <grant.b.edwards at> wrote:
>> So, to avoid _that_ problem, Windows command line apps and the cmd.exe
>> shell only allow "\" as a path separator.
> In cmd you can usually clarify the intent with quotes, e.g. `dir
> C:/Windows` fails because it parses "Windows" as a parameter, but `dir
> "C:/Windows"` succeeds.

That works to get the "/" past cmd.exe's parser and with seems to work
with cmd.exe's built-in commands, but programs that aren't internal to
cmd.exe become an issue.

Grant Edwards               grant.b.edwards        Yow! Here I am in 53
                                  at               B.C. and all I want is a
                                dill pickle!!

More information about the Python-list mailing list