Como remover marcação html em Python? Como tirar marcação html com python?

import re texto = re.sub('<[^>]+?>', '', texto)