📜  从文本文件python代码示例中读取页面源代码

📅  最后修改于: 2022-03-11 14:45:43.707000             🧑  作者: Mango

代码示例1
with open("file.txt") as f:
    bs = BeautifulSoup(f.read())