Random UTF-8 characters

Home

27 Jul 2016 in pythontips

Simple HTTP Server for any folder via python

Ever need to have create a web server for an arbitrary folder on your Mac? Python provides a super nice and quick one liner to do this:

python -m SimpleHTTPServer 8080

Boom! A running server in whatever folder you typed that command in.