Tuesday 29 January 2013

Error: No module named SimpleHTTPServer to start web server in Python 3.3

Ahah! You want to start a web server in Python 3.x?


In Python 3.x, you can start / run local web server with the following command:-

python -m http.server 8000

If you run the older command (for Python 2.x), 

python -m SimpleHTTPServer 8000

you will get an Error Message: No module named SimpleHTTPServer

Hope this post entry helps you.

Dapatkan Deals Terbaru Di Sini

Related Posts Plugin for WordPress, Blogger...