14 May
2018
14 May
'18
11:33 a.m.
Peng Yu writes:
On Sun, May 13, 2018 at 8:18 AM, Kev Dwyer
wrote: The python2 equivalent of html.entities is htmllib.entitydefs (https://docs.python.org/2/library/htmllib.html#module-htmlentitydefs).
I don't find working example code on how to use htmllib.entitydefs for my case. Could you show me some working example code? Thanks.
Don't use htmllib.entitydefs (to replace the entities); what you have done is better.