im parsing html using BeautifulSoup in python
i dont know how to insert a space when extracting text element
this is the code:
import BeautifulSo
One may want to use also with strip argument
bs = BeautifulSoup("thisis example") print(bs.get_text()) # thisis example print(bs.get_text(separator=" ")) # this is example print(bs.get_text(separator=" ", strip=True)) # this is example