python with 打开多个文件
with open("./example.html", "r") as f1, open("./example.css", "r") as f2, open("./example.svg", "r") as f3:
html = f1.read()
css = f2.read()
svg = f3.read()
mannuan
Rome was not built in a day.
with open("./example.html", "r") as f1, open("./example.css", "r") as f2, open("./example.svg", "r") as f3:
html = f1.read()
css = f2.read()
svg = f3.read()