> For the complete documentation index, see [llms.txt](https://tpout.gitbook.io/workspace/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tpout.gitbook.io/workspace/python/simple.md).

# simple

```python
from urllib import request

from bs4 import BeautifulSoup

response = request.urlopen("https://developer.mozilla.org/zh-CN/docs/Learn")
html = response.read()
html = html.decode("utf-8")
bs = BeautifulSoup(html, "lxml")
print(bs)
```
