def write_summary(allcodes):
 print '\n\n----------------------------------------------------------------------------\nChecked all binary files for CPU extension codes. Found the following codes:'
 for code in allcodes:
  print code
 print '\n----------------------------------------------------------------------------\n'

def write_summary ( allcodes ) : print '\n\n----------------------------------------------------------------------------\nChecked all binary files for CPU extension codes. Found the following codes:' for code in allcodes : print code print '\n----------------------------------------------------------------------------\n'
write a summary of all found codes to stdout .