The format of filename

Neil Cerutti horpner at
Tue Oct 24 17:02:15 CEST 2006

On 2006-10-24, Fredrik Lundh <fredrik at> wrote:
> Neil Cerutti wrote:
>> Where can I find documentation of what Python accepts as the
>> filename argument to the builtin function file?
>> As an example, I'm aware (through osmosis?) that I can use '/' as
>> a directory separator in filenames on both Unix and Dos. But
>> where is this documented?
> in the documentation for your operating system.  Python doesn't
> do anything with the filenames.

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

Neil Cerutti

More information about the Python-list mailing list