To start a HTTP server on port 8000 (which is the default port), simple type:
python -m SimpleHTTPServer
The PWD(present working directory) by which the command is executed will be served via HTTP. If we want to use custom port, use
python -m SimpleHTTPServer <portnumber>
For eg python -m SimpleHTTPServer 8080
Last Modified: