Comment utiliser la fonction Prettify dans Python

print(doc.prettify())
# Here doc is an HTML file that I want to prettify
Prashasti Gupta