That's fine. It was a cosmetic point:

just say `day, month, year = [int(x) for x in re.findall('(\d+)', fid.read(8))]`