(redirected from Main.SimpleHTTPServer)
Python has a nifty way to quickly make a directory available via a web server: SimpleHTTPServer.
The basic one-liner syntax from the command line:
$ python -m SimpleHTTPServer 8000
will launch a web server with the current working directory's contents available to a browser on port 8000.
| Tags: | Categories: Articles |
Recent Changes |
Printable View |
Page History |
Edit Page
Page last modified on April 16, 2012, at 11:24 AM by tamara