用Python3建立httpServer

看到有些帖子講建立httpserver的方式很簡單,以下:python import SimpleHTTPServer 瀏覽器 SimpleHTTPServer.test()spa 可是在Python3*中根本就沒法找到這個模塊。 查看官方手冊發現是這麼來的。在指定文件夾運行以下server python -m http.server 8000 而後在瀏覽器中輸入127.0.0.1:8000就能看
相關文章
相關標籤/搜索