def print_table(data):
table = AsciiTable([COLUMNS])<EOL>table.justify_columns[<NUM_LIT:2>] = '<STR_LIT:right>'<EOL>table.justify_columns[<NUM_LIT:3>] = '<STR_LIT:right>'<EOL>table.justify_columns[<NUM_LIT:4>] = '<STR_LIT:right>'<EOL>table_data = list()<EOL>for row_in in data:<EOL><INDENT>row_out = [<EOL>str(row_in.get('<STR_LIT>', '<STR_LIT>')).replace('<STR_LIT>', '<STR_LIT>'),<EOL>str(row_in.get('<STR_LIT>', '<STR_LIT>')),<EOL>str(row_in.get('<STR_LIT>', '<STR_LIT>')),<EOL>str(row_in.get('<STR_LIT>', '<STR_LIT>')),<EOL>str(row_in.get('<STR_LIT>', '<STR_LIT>')),<EOL>str(row_in.get('<STR_LIT>', '<STR_LIT>')),<EOL>]<EOL>if row_out[<NUM_LIT:3>]:<EOL><INDENT>row_out[<NUM_LIT:3>] += '<STR_LIT>'<EOL><DEDENT>if row_out[<NUM_LIT:4>]:<EOL><INDENT>row_out[<NUM_LIT:4>] += '<STR_LIT>'<EOL><DEDENT>table_data.append(row_out)<EOL><DEDENT>sort_by_column = [c.lower() for c in COLUMNS].index(OPTIONS['<STR_LIT>'].lower())<EOL>table_data.sort(key=lambda c: c[sort_by_column], reverse=OPTIONS['<STR_LIT>'])<EOL>table.table_data.extend(table_data)<EOL>print(table.table)<EOL>
Print the table of detected SSIDs and their data to screen.

    Positional arguments:
    data -- list of dictionaries.