1.把Desktop目錄當成根目錄
cd Desktop
2.python2啓動下載服務器
python2 -m SimpleHttpServer
3.python3啓動下載服務器
python3 -m http.server
4.瀏覽器訪問http://127.0.0.1:8000/
1.把Desktop目錄當成根目錄
cd Desktop
2.python2啓動下載服務器
python2 -m SimpleHttpServer
3.python3啓動下載服務器
python3 -m http.server
4.瀏覽器訪問http://127.0.0.1:8000/