Two Simple HTTP Servers Written in Python/Flask
server.py uses built in http.server module, which provides a basic HTTP Server.
- To Run, make sure http.server module is installed as well as the socket.server module. This can be done with pip install ex. for Python3, Python3 -m pip install socket.server
flask_server.py provides more feature rich server and functionality using the Flask lightweight web framework.
- To Run, make sure Flask is installed. This can be done with pip install ex. for Python3, Python3 -m pip install flask