Skip to content

Conversation

@DenverCoder1
Copy link
Owner

None can now be used to specify that specific column(s) should be automatically sized.

Example:

table2ascii(
        header=["#", "G", "H", "R", "S"],
        body=[["1", "30", "40", "35", "30"], ["2", "30", "40", "35", "30"]],
        footer=["TOTL", "130", "140", "135", "130"],
        column_widths=[7, None, 5, 5, None],
)

Additionally, improvements to the docs.

@DenverCoder1 DenverCoder1 merged commit 91de4cc into main Jun 26, 2022
@DenverCoder1 DenverCoder1 deleted the column-widths-none branch June 26, 2022 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants