Refresh a local web page using Python

后端 未结 5 1341
自闭症患者
自闭症患者 2021-01-04 12:24

I\'m using Python to gather some information, construct a very simple html page, save it locally and display the page in my browser using webbrowser.open(\'file:///c:/testfi

5条回答
  •  北荒
    北荒 (楼主)
    2021-01-04 12:48

    The LivePage extension for Chrome. You can write to a file, then LivePage will monitor it for you. You can also optionally refresh on imported content like CSS. Chrome will require that you grant permissions on local file:// urls.

    (I'm unaffiliated with the project.)

提交回复
热议问题