python3自帶web服務器

利用python創建小型的web站點html 1.首先建立作服務器的文件夾 2.將html文件放在該文件夾下,在該文件夾下執行如下命令python python2.7 python -m SimpleHTTPServer 端口 python3.4 python -m http.server 端口 3.訪問web 本機: http://localhost:端口/xxx.html http://127
相關文章
相關標籤/搜索