[Python] Python HTTP Server One Liner

As fidepus learned the "Python HTTP Server One Liner" from anyk, I needed to duplicate this wisdom myself - because I'll forget it as well ;)!

These commands will start an HTTP server on the current directory, listening on Port 8080.

Python 2.X:
python -m SimpleHTTPServer

Python 3.X:
python -m http.server

Original Post and Kudos to: http://www.fidepus.de/2014/05/python-server-one-liner/

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.