python-texttable
python-texttable copied to clipboard
For easy printing of ascii tables within python
Hello. This is an amazing project. I am wondering if there is a way to specifically define a column as boolean and printed as True or False instead of 0...
Using unicode characters breaks the table : ``` +-----------+-----------+-----------+--------+-----------+----------+----------+ | Réf. | Criticité | Probabili | Impact | Exploitab | Coût | Efficaci | | | | té d'occu |...
Moving from 1.2.1 to 1.3.0 this bug appeared: ``` File "/opt/OHLI/miniconda/envs/OHLI/lib/python3.6/site-packages/texttable.py", line 383, in draw out += self._draw_line(self._header, isheader=True) File "/opt/OHLI/miniconda/envs/OHLI/lib/python3.6/site-packages/texttable.py", line 621, in _draw_line line = self._splitit(line, isheader) File...
Is there a way to align headers?
This is amazing. Thank you so much for sharing your work on this Buford! I was surprised when it worked on python3 _YAY_ and even more shocked when it worked...
Looks like 0.8.3 available on pip is some strange version that does not have a bcolors class, so `texttable.bcolors` errors with: `AttributeError: 'module' object has no attribute 'bcolors'`
> > > inner_table = Texttable() > > > inner_table.add_row([get_color_string(bcolors.GREEN, "Name"), "Noorez"]) > > > inner_table.draw() > > > '+------+--------+\n| \x1b[92mName\x1b[0m | Noorez |\n+------+--------+' the color maker is only on...
pip install python-texttable Collecting python-texttable Could not find a version that satisfies the requirement python-texttable (from versions: ) No matching distribution found for python-texttable
Hi, from what I understand, this is a fork of https://github.com/foutaise/texttable when the latter was not yet available on github. Would you be willing to merge with upstream again?
I wonder how rowspan and colspan could be implemented inside this? For the moment, I don't see any solution for this....