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
If your version of Beautifulsoup does not have getText then you could do this:
getText
In [26]: ' '.join(soup.findAll(text=True)) Out[26]: u'this is example'