using bs4 to obtain html element by id

>>> import BeautifulSoup
>>> soup = BeautifulSoup.BeautifulSoup('
...
>> soup.find("div", {"id": "articlebody"})
...

Here is what the above code is Doing:
1. We’re creating a BeautifulSoup object from the HTML string.
2. We’re searching the BeautifulSoup object for a

tag with the id attribute equal to articlebody.
3. We’re printing the result of the search.