learn from https://github.com/aosabook/500lines/tree/master/web-server and change a little bit.
It's a cute project!
python 2.x
First,enter following command
python server.py
Second, go to your browser and access the following url:
http://127.0.0.1:8080