Localization of Windows Pathname in Python or PyQT -
i seaching days solution can't find anything... hope can help.
i need translated windows path in python.
c:\programdata\microsoft\windows\start menu\programs\accessories\calculator.lnk
is in windows explorer on german systems:
c:\programdata\microsoft\windows\startmenü\programme\zubehör\rechner.lnk
i need translated path/file name in python or pyqt - if use e.g. os.walk()
gives me real (untranslated) file names - correct usage in special case need translated file/folder names...
thank much
the windows api shgetlocalizedname.
this new function (windows vista onwards), , not seem available in pywin32. however, can wrap function using ctypes module if there's not ready-made solution available.
Comments
Post a Comment