first step
By cmd命令提示符
entering you want to set up a directory server, where I chose E盘
the python
folder
Second step
Enter the command in this directory python -m http.server 8888
(the following four digits are arbitrary)
third step
Next is the time to check the results. Open the browser and type in the address bar http://127.0.0.1:8888/
(the last four digits here correspond to the previous ones) to access the folder directory selected in the first step.
Click on the prepared .html
file to view it
注意
. The terminal cannot be closed during the test, and your query operation can be detected at the terminal