How to extend pretty print module to tables?

前端 未结 4 1898
傲寒
傲寒 2020-12-22 13:40

I have the pretty print module, which I prepared because I was not happy the pprint module produced zillion lines for list of numbers which had one list of list. Here is exa

4条回答
  •  礼貌的吻别
    2020-12-22 14:03

    My answer to this kind of regular cases would be to use this module: prettytable A simple Python library for easily displaying tabular data in a visually appealing ASCII table format

提交回复
热议问题