适用场景

只要有python3就可以,windows系统cmd窗口直接敲命令,Linux系统,直接敲命令

step-1 cd

cd 到需要搭建服务器的目录

搭建http文件服务器 - python3使用http.server搭建http文件服务器

 step-2 http.server

python -m http.server 端口号

搭建http文件服务器 - python3使用http.server搭建http文件服务器

 step-3 下载

访问ip:端口,下载自己需要的文件/目录

搭建http文件服务器 - python3使用http.server搭建http文件服务器

 

相关文章:

  • 2021-09-15
  • 2021-11-30
  • 2021-11-28
  • 2021-10-23
  • 2021-11-20
  • 2021-11-03
  • 2021-11-06
  • 2021-10-01
猜你喜欢
  • 2022-02-06
  • 2022-12-23
  • 2021-11-30
  • 2021-12-31
  • 2021-09-23
  • 2021-09-29
相关资源
相似解决方案