python 2.7.12 on Linux behaving differently than on Windows

eryk sun eryksun at gmail.com
Thu Dec 8 12:02:47 EST 2016


On Thu, Dec 8, 2016 at 4:34 PM, Grant Edwards <grant.b.edwards at gmail.com> 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.



More information about the Python-list mailing list