python多行注释报错_python 有多行注释运行报错

在python 中写 这样的注释 用 vscode 运行会报错#coding=utf-8

import json

from playwright.sync_api import sync_playwright

f = open('D:/threeday/backup-2.json',"r+")

urls = f.readlines()

print(json.loads(urls[0]))

with sync_playwright() as p:

browser = p.chromium.launch()

for url in urls[0]:

page = browser.new_page()

page.goto(url)

"""

λ python -m playwright install

Downloading chromium v844399 - 91 Mb [====================] 100% 0.0s

chromium v844399 downloaded to C:\Users\Administrator\AppData\Local\ms-playwright\chromium-844399

Downloading firefox v1225 - 75.1 Mb [====================] 100% 0.0s

firefox v1225 downloaded to C:\Users\Administrator\AppData\Local\ms-playwright\\firefox-1225

Downloading webkit v1423 - 38.2 Mb [====================] 100% 0.0s

webkit v1423 downloaded to C:\Users\Administrator\AppData\Local\ms-playwright\webkit-1423

"""

0741e1660f3d98af983fa169ed2e7871.png

已标记关键词 清除标记
表情包
插入表情
评论将由博主筛选后显示,对所有人可见 | 还能输入1000个字符
相关推荐
©️2020 CSDN 皮肤主题: 游动-白 设计师:白松林 返回首页