Possible en double:
Strip html from strings in pythonComment supprimer des textes dans les balises html en python?
Tout en faisant un petit navigateur comme l'application, je suis face au problème de spliting les différentes balises. Considérons la chaîne
<html> <h1> good morning </h1> welcome </html>
J'ai besoin la sortie suivante: [ 'bonjour', 'bienvenue']
Comment puis-je faire cela en python?