Permissions
Tag this page
Edit this page
Save your edits
Done editing
Login
About
Futuretoby is our family site.
Links of Interest
Family news
Family Album
One-Liner WebServer with Python
About
programming
and
python
Turns out, even better than my
HTTP Server in 5 Lines With Webrick
is this one-liner:
python -m SimpleHTTPServer
This will serve on port 8000 by default, but you can add the port number as the last argument to override. Nice! Credits go to
this article
.
Leave Comment
Name:
Email:
Website:
optional
Write your comments here.