Although it is easy to start-up IIS under Window O/S or Apache under Unix O/S, we still have another choice to start a web server service using Python programming tools. You only need to install python, and then start python and run the following script line by line:

import http.server, os
#define the server document directory with unix path;
#if it is window env with directory as c:\Users\administrator\Documents\
httpd = http.server.HTTPServer((‘′, 8000),

This script can work under either python 2.7 or 3.x version under window or Unix environment. If you put the index.html to the server document path, then, you can start a web browser and input the link as in order to display your web page. It is the most easy, simple, fast way to start a web server service.

Leave a Reply

Your email address will not be published.

Solve : *
24 ⁄ 8 =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>