The format of filename

Neil Cerutti horpner at yahoo.com
Tue Oct 24 11:02:15 EDT 2006


On 2006-10-24, Fredrik Lundh <fredrik at pythonware.com> 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