Created
April 25, 2018 12:46
-
-
Save Fhernd/f66f3f7d314e8f2a0d6fb1f68ba5a06f to your computer and use it in GitHub Desktop.
Reemplazar entidades HTML. OrtizOL.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import html | |
codigo_html = '<strong>Python</strong> es un lenguaje de programación <em>interpretado</em>'; | |
print(codigo_html); | |
print('') | |
print(html.escape(codigo_html)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment