How to Solve NameError: name 'CSSBeautifier' is not defined -- html5print
Erorr: name 'CSSBeautifier' is not defined
NameError: name 'CSSBeautifier' is not defined
Solution: Import the 'CSSBeautifier' module
# Add the following line to the top of your code
from html5print import CSSBeautifier
For more information:
html5print CSSBeautifier