The format of filename

Fredrik Lundh fredrik at
Tue Oct 24 17:16:06 CEST 2006

Neil Cerutti wrote:

> Is translation of '/' to '\\' a feature of Windows or Python?

Windows.  Random MSDN link:

     Win32 operating systems support both the backslash (\) and
     the forward slash (/). /.../ (However, the Windows operating
     system command shell, CMD.EXE, does not support the forward
     slash in commands entered at the command prompt.)

for general file naming guidelines for Windows (including the shell), see:


More information about the Python-list mailing list