os.path.normcase rationale?

Nobody nobody at nowhere.com
Fri Sep 17 04:17:50 CEST 2010

On Wed, 15 Sep 2010 14:49:09 +0100, Chris Withers wrote:

> I'm curious as to why, with a file called "Foo.txt" 
> os.path.normcase('FoO.txt') will return "foo.txt" rather than "Foo.txt"?

normcase() doesn't look at the filesystem; it's just string manipulation.

More information about the Python-list mailing list