header_sizes = (36, 26, 22, 18, 14, 12)
if x not in header_sizes:
  raise Exception()
else:
  h36, h26, h22, h18, h14, h12 = tuple(
    line if x == size else '' for x in header_sizes)



--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to