python 2.7.12 on Linux behaving differently than on Windows

Grant Edwards grant.b.edwards at
Thu Dec 8 11:34:27 EST 2016

On 2016-12-08, Random832 <random832 at> wrote:
> On Wed, Dec 7, 2016, at 03:50, Peter Otten wrote:
>> Is there an equivalent to
>> # touch -- -r 
>> on Windows?
> Doesn't need one - options conventionally start with /, and filenames
> can't contain /.

But _paths_ can, and Windows command-line apps and shells choke on
paths when written with "/" separators because way-back when the
MS-DOS "designers" decided to use "/" as the default option character.

So, to avoid _that_ problem, Windows command line apps and the cmd.exe
shell only allow "\" as a path separator.

Back in the day, you could change the DOS option character to "-", and
then type paths they way God intended: with "/" as the separator.

Grant Edwards               grant.b.edwards        Yow! I want another
                                  at               RE-WRITE on my CEASAR

More information about the Python-list mailing list