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
Use getText instead:
getText
import BeautifulSoup soup=BeautifulSoup.BeautifulSoup('thisisexample') print soup.getText(separator=u' ') # u'this is example'