• October 22, 2024

Bs4_Element_Tag To String

how to convert a bs4.element.ResultSet to strings? Python I have a simple code like: p = nd_all(“p”) paragraphs = [] for x in p: (str(x)) I am trying to convert a list I obtained from xml and convert it to string. I want to keep it with it’s original tag…

Read More