python - Beautiful soup to count frequency of particular word in page -
i using beautiful soup 1 task.
i have retrieved page , made soup object. soup = beautifulsoup(html, 'html.parser')
now want count number of times 1 keyword appears in this. example. "pants". should give me count of pants word in page. appreciated.
Comments
Post a Comment