-
Python can be used to create servers.
-
The commands depends on the version of python being used "PYTHON 2 OR PTYHON 3"
-
For PYTHON 2
python –m SimpleHTTPServer- For PYTHON 3
python -m http.server --- default port number is 8080
python -m http.server 9000 --- changing the port number to 9000- If both the python versions are present in the system try writting "python3" or "python2" along with the command