I got to this page from here: https://pypi.python.org/pypi/PTable/0.9.0 This page is a little out of date. Specifically, change from prettytable import from_cursor to from prettytable import from_db_cursor
Activity
myliyifei commentedon Jan 21, 2017
agree
hugovk commentedon Nov 1, 2020
A similar thing was fixed in #7 but not in the README.
I've just fixed it in the upstream PrettyTable (prettytable/prettytable#77) and will be on https://pypi.org/project/prettytable/ for the next release.