from prettytable import PrettyTable t = PrettyTable(['Name','Family','Phone']) t.add_row(['Bubbles','Learn','091000000']) t.add_row(['Matin','Boronsi','091200000']) print(t)