Skip to content

Instantly share code, notes, and snippets.

@tobigue
Created September 13, 2014 13:09
Serve files from a directory locally
python -c "
import flask
f=flask.Flask('a', static_folder='./')
@f.route('/<path:p>')
def s(p): return f.send_static_file(p)
f.run()
"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment