Python Simple Server Python 2 x python m…

Python Simple Server

Python 2.x:
python -m SimpleHTTPServer port#
Example: python -m SimpleHTTPServer 8000

Python 3.x:
python -m http.server port#
Example: python -m http.server 8000

*excluding the port number, the port number defaults to 8000

#notes