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. If you have your table data in a database which you can access using a library which confirms to the Python DB-API (e.g. An SQLite database accessible using the sqlite module), then you can build a PrettyTable using a cursor object, like this. Prettytable python title; prettytable in pytho;n; preetytable python column width; prettytable python example; python libary for creating tables; import prettytable; prettytable mac; install prettyTable python 3.9; how to install prettytable python on 3.9; pip install prettytable; datascroller prettytable python; install prettytable.
How to install prettytable
- Download and install ActivePython
- Open Command Prompt
- Type
pypm install prettytable
Python 2.7 | Python 3.2 | Python 3.3 | |||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows (32-bit) |
|
| |||||||||||||||||||||||||||||||
Windows (64-bit) |
|
| |||||||||||||||||||||||||||||||
Mac OS X (10.5+) |
|
| |||||||||||||||||||||||||||||||
Linux (32-bit) |
|
| |||||||||||||||||||||||||||||||
Linux (64-bit) |
|
|
|