Closed rossengeorgiev closed 8 years ago
Does this work for the PICS case?
Looks good:
from vdf import VDFDict, binary_loads
with open('products/p_34719.bvdf', 'rb') as fp:
print binary_loads(fp.read(), VDFDict).values()[0]['AppItems']
VDFDict([('8500', VDFDict([('0', 220003)])), ('8500', VDFDict([('1', 220015)]))])
Thanks. Looks nicer now.