Python Forum

Full Version: case-sensitive search
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In python 2.7.14 when i am giving file path like c:\users\<FILENAME> For c:\users\<filename> ,it is accepting .Is it by default like that in python or is there any way by which I can make it case-sensitive
I think that's an os matter rather than a Python one. Windows doesn't differentiate filenames by case, but most operating systems do.

There's an option on Windows 10 to enable case sensitive file names, but it is on a folder (and below) basis. https://www.howtogeek.com/354220/how-to-...indows-10/