我在命令行中進入要共享的目錄,執行python -m SimpleHTTPServer,在瀏覽器地址欄中,我鍵入localhost:8000/index.html,可以訪問到,之后我又進入別的目錄,繼續執行上面這條命令,當我訪問localhost:8000/index.html的時候,這兩個index.html是不一樣的,為何又會跳轉到上面的index.html?有什么好的解決方式嗎?ps:我不想換端口!
python 共享localhost資源
狐的傳說
2018-07-16 14:02:47