html#

see

https://www.w3schools.com/html/html_tables.asp

These python commands:

1import pyRestTable
2t = pyRestTable.Table()
3t.labels = ('one', 'two', 'three' )
4t.rows.append( ['1,1', '1,2', '1,3',] )
5t.rows.append( ['2,1', '2,2', '2,3',] )
6t.rows.append( ['3,1', '3,2', '3,3',] )
7t.rows.append( ['4,1', '4,2', '4,3',] )
8print(t.reST(fmt='html'))

build this table in HTML source code:

 1<table>
 2  <tr>
 3    <th>one</th>
 4    <th>two</th>
 5    <th>three</th>
 6  </tr>
 7  <tr>
 8    <td>1,1</td>
 9    <td>1,2</td>
10    <td>1,3</td>
11  </tr>
12  <tr>
13    <td>2,1</td>
14    <td>2,2</td>
15    <td>2,3</td>
16  </tr>
17  <tr>
18    <td>3,1</td>
19    <td>3,2</td>
20    <td>3,3</td>
21  </tr>
22  <tr>
23    <td>4,1</td>
24    <td>4,2</td>
25    <td>4,3</td>
26  </tr>
27</table>