Localization of Windows Pathname in Python or PyQT

I seaching now some days for a solution but can't find anything... I hope you can help.

I need the translated windows path in python.

C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\Calculator.lnk

is in Windows Explorer on german Systems:


I need this translated Path/File name in Python or PyQT - If I use e.g. os.walk() it gives me real (untranslated) file names back - This is correct for most usage but in my special case I need the translated file/folder names...

Thank you very much


The Windows API for this is SHGetLocalizedName.

This is a fairly new function (Windows Vista onwards), and so it does not seem to be currently available in PyWin32. However, you can always wrap the function yourself using the ctypes module if there's not a ready-made solution available.

Need Your Help

CoreOS: fleetctl status shows service inactive, while container is up

docker coreos fleetctl

So I have done a 3 node core-os setup with vagrant on my laptop. I am following their quick start guide. https://coreos.com/docs/quickstart/.

The output of the function should be double but it gives me integer

c++ function double user-defined-functions

I made a program which is actually good and working and it has a user defined function in it but there is only one problem as it's shown in the title, I got integer output instead of double, I don'...