Python Forum
printing text tables with consistent width
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
printing text tables with consistent width
#1
is there a facility that exists to make it easy to print out a multi-column table which has data of different width in each row of a column in a way where every row in a given column has the same width? the difficult part will be that the first row has to be delayed until the lat row is output, buffering the entire table, unless the case is that the data can be produced twice.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
printing text tables with consistent width - by Skaperen - Jun-30-2018, 03:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python code to set column width 1418 11 1,841 Jan-20-2024, 07:20 AM
Last Post: Pedroski55
  Fixed colum width for rowLabels i Matplotlib pandabay 0 506 Jun-10-2023, 03:40 PM
Last Post: pandabay
  Setup host for consistent data transfer to client via TCP Gustav97 0 747 Jun-27-2022, 07:33 PM
Last Post: Gustav97
  Consistent error Led_Zeppelin 1 1,737 Dec-20-2021, 01:39 AM
Last Post: snippsat
  width of Unicode character Skaperen 6 2,923 Sep-27-2021, 12:41 AM
Last Post: Skaperen
  image.thumbnail(width, height) not working PCesarano 2 3,575 Apr-08-2021, 06:09 PM
Last Post: PCesarano
  Error printing colored text julio2000 0 1,543 Feb-02-2020, 07:04 PM
Last Post: julio2000
  How can I get the width of a string in Python? aquerci 14 16,707 May-27-2019, 06:00 PM
Last Post: heiner55
  fixed width numbers Skaperen 15 9,039 May-27-2019, 09:42 AM
Last Post: Skaperen
  Printing lines in a basic text file Drone4four 6 4,063 Aug-16-2018, 03:10 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020