Closed DavidPonceLopez closed 3 years ago
html2text --version
rows = cursor.fetchall() for row in rows: row.Description = html2text.html2text(row.Description) print (row)
python --version
The recipent API properly reads \n\n as line jump so it won't be a problem
html2text --version
2020.1.16After a SQL query to an MS-Access Database that has a column called "Description" formated into Rich Text (HTML). I am using the library pyodbc
rows = cursor.fetchall() for row in rows: row.Description = html2text.html2text(row.Description) print (row)
The result looks pretty good except it has transformed all the
python --version
: 3.9