A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2010-September/104133.html below:

[Python-Dev] os.path.normcase rationale?

[Python-Dev] os.path.normcase rationale? [Python-Dev] os.path.normcase rationale?Paul Moore p.f.moore at gmail.com
Sun Sep 26 15:06:38 CEST 2010
On 26 September 2010 13:37, James Y Knight <foom at fuhm.net> wrote:
>
> Were you thinking of SHGetFileInfo?
>
> http://stackoverflow.com/questions/74451/getting-actual-file-name-with-proper-casing-on-windows

It wasn't, but it looks possible. Only gives the last component,
though, so you still have to walk up the path components :-(

I suspect I was thinking of GetLongFileName, which puts everything
*but* the last component into the right case. I missed the problem
with the last component :-(

Paul.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4