Environmental preparation
- linux
- Windows with python installed (environment variables are configured)
Start command
1. Python version is less than 3.0
python -m SimpleHTTPServer 8080
- -m means run the python module as a script
- Start port is configured to 8080
2. The python version is equal to or higher than 3.0
python -m http.server 8080