Answer the question
In order to leave comments, you need to log in
How to get the word on the next line from a string?
Stupidly formulated the question, in general
<vim-test-item correct="true">Ответ</vim-test-item>
correct = anwerdecode.partition('correct="true">')[2].partition('</')[0]
<vim-select-item correct="true">
<vim-select-item-title>вершины</vim-select-item-title>
</vim-select-item>
Answer the question
In order to leave comments, you need to log in
Or maybe it's better not to engage in perversion, but to use libraries for parsing html, for example, bs4.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question