Python - How to import 'Markup' -- markupsafe

Import Markup

To import Markup, Add the following line to the top of your code.

from markupsafe import Markup

 

For more information about Markup:
markupsafe Markup