Simple static HTTP server with Python
It's the fastest way when you just need to access some file via HTTP, without any configuration.
$ cd some/public/path
$ python -m SimpleHTTPServer
Serving HTTP on 0.0.0.0 port 8000
Written by Endel Dreyer
Related protips
1 Response
I found this really useful when developing a webgl app. gl.texImage2D throws a SECURITY_ERR if you loaded up index.html from file://.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Python
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#