Greytree

TamWiki

For a mouse who is a packrat

Technology » Simple HTTP Server In Python
Make a directory available via a web server

Summary:this is what goes at the top of the site

(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.

Summary:Make a directory available via a web server Parent:(Technology.)Python Include Me?:Python Categories:Articles Tags: python, http server


Tags: Categories: Articles

Recent Changes | Printable View | Page History | Edit Page
Page last modified on April 16, 2012, at 11:24 AM by tamara