Is it possible Python can distinguish capital letter and small letter in the path of Windows?
jfong at ms4.hinet.net
jfong at ms4.hinet.net
Tue Oct 11 06:34:03 EDT 2016
I have two files in the Q:\lib directory:
Q:\lib>dir
2007/03/11 AM 08:02 5,260 lib_MARK.so
2007/03/11 AM 08:02 4,584 lib_mark.so
Under Python 3.4.4 I got:
>>> f = open('lib_MARK.so', 'br')
>>> data = f.read()
>>> f.close()
>>> len(data)
4584
I know Windows won't, but can Python make it true?
--Jach
More information about the Python-list
mailing list