view pdfextract/parseLibXtract.py @ 11:0200abb77dbc

fuxi file share
author nothing@tehis.net
date Wed, 03 Apr 2013 16:17:00 +0100
parents 365a37a2fb6c
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)]