BeautifulSoup库可以读取html文件 1. 安装BeautifulSoup 可以直接通过命令安装:pip install BeautifulSoup4 2. 检查是否安装成功 pip list