from collections import namedtuple Entry = namedtuple('Entry',['z','x','y','offset','length','is_dir'])