[Python-ideas] Small enhancement to os.path.splitext
Paul Moore
p.f.moore at gmail.com
Wed Apr 21 00:29:10 CEST 2010
On 20 April 2010 22:55, Tarek Ziadé <ziade.tarek at gmail.com> wrote:
> Ok well, I doubt I'll be your hero, this is way over my head ;)
:-)
> The only simple way that comes in my mind is to write a test file to
> try it out but that's a hack
>
> But being able to detect it sounds like something we should definitely
> have in os/os.path.
Actually, I just dis a bit of digging - on Windows,
GetVolumeInformation, or GetVolumeInformationByHandleW looks like it'd
do the job.
Does anyone know how to find out if a filesystem is case sensitive on
Linux/MacOS/Unix...?
Paul.
More information about the Python-ideas
mailing list