📜  python beautifulsoup 写入文件 - Python 代码示例

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

代码示例1
with open("output1.html", "w", encoding='utf-8') as file:
    file.write(str(soup))