How do you retrieve the tags of a file in a list with Python (Windows Vista)?

前端 未结 4 766
悲&欢浪女
悲&欢浪女 2020-11-30 12:23

I want to make something of a tag cloud for various folders I have, but unfortunately, I can\'t seem to find a way to access the tags of a file in Windows Vista. I tried loo

4条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-30 12:47

    Apparently, you need to use the Windows Search API looking for System.Keywords -- you can access the API directly via ctypes, or indirectly (needing win32 extensions) through the API's COM Interop assembly. Sorry, I have no vista installation on which to check, but I hope these links are useful!

提交回复
热议问题