What's the perfect (OS independent) way of storing filepaths ?

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Mon Oct 20 21:04:34 EDT 2008


In message <010d03fd$0$20660$c3e8da3 at news.astraweb.com>, Steven D'Aprano
wrote:

> Do you really think there are Linux or Mac systems with a C: drive?

And what about files on Dimdows systems kept on a drive other than C?

> This whole question is based on the ludicrous assumption that general
> file system paths can be platform-independent.

There is supposed to be a POSIX-compliant layer somewhere underneath all the
Dimdows crud. You could write to that.



More information about the Python-list mailing list