tree = lh.fromstring(content)
for key, status, t in zip(*([iter(tree.xpath('//td/text()'))] * 3)):
    print('{k}_STATUS = "{s}"\n{k}_TIME = "{t}"'.format(k=key, s=status, t=
        t.rstrip(' s')))
Extract data from HTML table using Python