I am using a small utility to find the type a file under Windows.
TrID/32 - File Identifier v2.10 - (C) 2003-11
By M.Pontello Definitions found: 5295 Analyzing...
Collecting data from file: april_error.wmv
94.1% (.WMV/WMA) Windows Media (generic) (16018/6)
5.8% (.CAT) Microsoft Security Catalog (1000/1)
In Python, how can I capture the (.WMV/WMA) cause it seems that I currently get a wrong matching group.
For instance re.search('\((.*?)\)', stdout).group(1) returns 'C'
Thanks in advance.
(.WMV/WMA)?