def ec2_image_table(images):
t = prettytable.PrettyTable(['<STR_LIT>', '<STR_LIT>', '<STR_LIT:Name>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>'])<EOL>t.align = '<STR_LIT:l>'<EOL>for i in images:<EOL><INDENT>t.add_row([i.id, i.state, i.name, i.ownerId, i.root_device_type, i.is_public, i.description])<EOL><DEDENT>return t<EOL>
Print nice looking table of information from images