在Windows 7/10或Ubuntu上可以通過python2.x或python3.x來快速搭建一個簡單的HTTP服務器。
如果python為2.x,則可執行:$ python -m SimpleHTTPServer 或 $ python2 -m SimpleHTTPServer 如果python為3.x,則可執行:$ python -m http.server 或 $ python3 -m http.server
在Windows 7/10或Ubuntu上可以通過python2.x或python3.x來快速搭建一個簡單的HTTP服務器。
如果python為2.x,則可執行:$ python -m SimpleHTTPServer 或 $ python2 -m SimpleHTTPServer 如果python為3.x,則可執行:$ python -m http.server 或 $ python3 -m http.server
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。