cross platform accessing paths (windows, linux ...)

Vlastimil Brom vlastimil.brom at
Fri Mar 13 10:20:40 CET 2009

2009/3/13 hendra kusuma <penguinroad at>:
> you may want to use os.sep to replace manually written "/" "\" ":" for each
> os
> I heard that unix/linux use "/" as directory separator while windows use "\"
> and mac os use ":"
Thanks for the notice about the ":" path separator on mac;
windows uses "\" but normally also accepts "/".
Now I see, the diversity is yet greater, than I thought (cf.


More information about the Python-list mailing list