记录下用PYTHON在WIN10下简单搭建本地服务器1. PYTHON变量需要先加到环境变量中2. 在CMD下,先进入想要展示内容的文件夹3. 输入python -m http.server 8000,按回车。当显示图一中内容,即说明成功搭建。4. 8000是端口,可以随意修改。5. 在浏览器中输入localhost:8000或者是你电脑的ip地址+”:8000"如:127.0.0.1:8000,即可打开你想要在页面上展示的所在文件夹的所有内容,点击文件夹或文件都可直接打开(图二)
Why is this step necessary? hello.2heng.xin might not be the server where you are registered, so we need to redirect you to your home server first. Don't have an account? You can sign up here
hello.2heng.xin