How to read windows file properties?
I am trying to read windows file properties and reading on python options it seems that some people are using extensions called PYWIN32 ??
im having difficulty translating or interpreting the syntax into something I can use in Sikuli mainly with the whole import part first.
This was one of the examples i saw that I wanted to try but couldn't:
"from win32com.client import Dispatch
ver_parser = Dispatch(
info = ver_parser.
if info == 'No Version Information Available':
info = None"
maybe i'm going about this wrong?
Instead of using:
subprocess.
i was hoping to find some way to just go directly to the file itself and read/print certain attributes such as:
value in the Version tab
if a digital signature is present etc..
things like that.
for now i'm using the right click scroll options to get by but id like a more direct cleaner method if possible.
Thanks in advance!
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Shawn Robertson for more information if necessary.