Nazarii Gudzovatyi

Errors should never pass silently.

Python: Starting Http Server in One Line

The idea is taken from it’s own post on habrahabr. We need to share 2GB file throw our local network and the quickest and simpliest way by advice of our Joda was to start local http server with the help of Python. To do it simply type in console:

python -m CGIHTTPServer

This will start http server on default 8000 port and after opening you browser on http://localhost:8000 you should see a list of files in directory you prompted command from. Copy link address of file you need to and share with other members of you network. Enjoy fast download speed with python!