view pdfextract/parseLibXtract.py @ 1:365a37a2fb6c

added files from pdfextract directory
author nothing@tehis.net
date Mon, 25 Feb 2013 14:47:41 +0000
parents
children
line wrap: on
line source
path = '/Users/alo/Development/MIR/LibXtract/xtract/libxtract.h'

lines = [line.strip() for line in open(path)]

xtract = lines[(lines.index('enum xtract_features_ {')+1):(lines.index('XTRACT_WINDOWED')-1)]