[Python-Dev] Easy way to detect filesystem case-sensitivity? (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Fri May 8 01:48:29 CEST 2009
- Previous message: [Python-Dev] Easy way to detect filesystem case-sensitivity?
- Next message: [Python-Dev] Easy way to detect filesystem case-sensitivity?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Robert Kern <robert.kern gmail.com> writes:
Since one may have more than one filesystem side-by-side, this can't be just be a system-wide boolean somewhere. One would have to query the target directory for this information. I am not aware of the existence of code that does such a query, though.
Or you can just be practical and test for it. Create a file "foobar" and see if you can open "FOOBAR" in read mode...
Regards
Antoine.
- Previous message: [Python-Dev] Easy way to detect filesystem case-sensitivity?
- Next message: [Python-Dev] Easy way to detect filesystem case-sensitivity?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]