Install python-prettytable by entering the following commands in the terminal:
sudo apt update sudo apt install python-prettytable
Description:
library to represent tabular data in visually appealing ASCII tables
PrettyTable is a simple Python library designed to make it quick and easy to represent tabular data in visually appealing ASCII tables. It was inspired by the ASCII tables used in the PostgreSQL shell psql. PrettyTable allows for selection of which columns are to be printed, independent alignment of columns (left or right justified or centred) and printing of "sub-tables" by specifying a row range.
Homepage: http://code.google.com/p/prettytable/
Version: 0.7.2-3
Section: python