B_CodePython Code/Python, Python, http 2024-10-11 Source Edit History 【python】开启http服务 文章目录 1. python 开启 http 服务 概述:使用python开启http服务 [toc] python 开启 http 服务 在需要开启http服务的文件件运行一下命令即可: 123python -m SimpleHTTPServer 8080# 或者python -m http.server 8080