SimpleHTTPServer on Python3
Serving a directory via http is sometimes very handy for web development.
Using python 2, my good old friend
python -m SimpleHttpServer [port]
did just that.
Today I have learned that it has a new name unter python 3:
python -m http.server [port]
See the note on docs.python.org
Written by Sebastian Schuth
Related protips
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#