python开启http服务器,如果当前目录下,有index.html 文件,默认访问此文件,如果没有,就显示当前目录所有文件

python -m http.server 8000

 

 

python3 开启http服务器

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2021-09-23
  • 2022-01-11
  • 2021-08-28
猜你喜欢
  • 2022-01-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-28
  • 2022-12-23
  • 2021-09-17
相关资源
相似解决方案