Jul-03-2018, 01:25 PM
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
case-sensitive search
|
Jul-03-2018, 01:25 PM
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
Jul-03-2018, 02:46 PM
(This post was last modified: Jul-03-2018, 02:46 PM by gruntfutuk.)
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/
I am trying to help you, really, even if it doesn't always seem that way
|
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Context-sensitive delimiter | ZZTurn | 9 | 3,138 |
May-16-2023, 07:31 AM Last Post: Gribouillis |
|
Switch case or match case? | Frankduc | 9 | 7,480 |
Jan-20-2022, 01:56 PM Last Post: Frankduc |
|
Case sensitive checks | kam_uk | 2 | 2,690 |
Nov-30-2020, 01:25 AM Last Post: bowlofred |
|
How do I copy files without case sensitive? | mcesmcsc | 8 | 6,783 |
Dec-18-2019, 02:19 PM Last Post: mcesmcsc |
|
Case sensitive path | asheru93 | 6 | 7,431 |
Jan-28-2019, 01:52 PM Last Post: asheru93 |