Python - How to import 'HTMLBeautifier' -- html5print
Import HTMLBeautifier
To import HTMLBeautifier, Add the following line to the top of your code.
from html5print import HTMLBeautifier
For more information about HTMLBeautifier:
html5print HTMLBeautifier