The format of filename

Fredrik Lundh fredrik at pythonware.com
Tue Oct 24 11:16:06 EDT 2006


Neil Cerutti wrote:

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

Windows.  Random MSDN link:

     http://msdn2.microsoft.com/en-us/library/77859s1t.aspx

     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:

     http://msdn.microsoft.com/library/en-us/fileio/fs/naming_a_file.asp

</F>




More information about the Python-list mailing list