Is there a simple way to get the "real" case sensitive path from a all lower case path. Like the reverse of os.path.normcase.
For example, consider the directory:
c:\StackOverFlow
If I have the following snippet, how to obtain d_real?
>>> import os
>>> d = os.path.normcase('C:\\StackOverFlow') # convert to lower case
>>> d
'c:\\stackoverflow'
>>> d_real = ... # should give 'C:\StackOverFlow' with the correct case