Table Titles

10 views
Skip to first unread message

Tim van Boxtel

unread,
Sep 27, 2012, 9:44:31 AM9/27/12
to prettyta...@googlegroups.com
Hi,

I've extended prettytable to include the option of adding a table title, see the attached patch.  The testing module has also been extended accordingly.

Usage is similar to other options available to PrettyTable.

i.e. 
t = PrettyTable()
t.tile = "My Table's Title"
... fill table ...
print t.get_string()

If anyone discovers any problems, let me know.  Thanks to the devs for a very useful module
prettytable.include_titles.patch

Luke Maurits

unread,
Sep 28, 2012, 9:04:30 PM9/28/12
to prettyta...@googlegroups.com
Hi Tim,

Thanks very much for this contribution. I'll see to it that this
feature is included in the next release, which will hopefully be quite
soon.

Cheers,
Luke
> --
> You received this message because you are subscribed to the Google Groups "prettytable-devel" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/prettytable-devel/-/3hZL_z7JAaUJ.
> To post to this group, send email to prettyta...@googlegroups.com.
> To unsubscribe from this group, send email to prettytable-de...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/prettytable-devel?hl=en.
>


--
Luke Maurits <lu...@maurits.id.au>
http://www.luke.maurits.id.au
CompCogSci | Crypto | Maths | Python | Unix
Reply all
Reply to author
Forward
0 new messages