Scripting >> Python >> How to run a simple web (http) server# Python 2 # run at default http port 80 python -m SimpleHTTPServer #or at port 80 python -m SimpleHTTPServer 8000 # Python 3 python -m http.server To test the web server put your html pages in the directory where python was started |