You can use links if you want:

plaes.org

Simple static HTTP server in Python

written by plaes, on Nov 26, 2009 12:49:00 PM.

Suppose you need to transfer some files from Linux machine to another machine that does not have any other file transfer client available than browser (ie - regular Windows machine). So instead of trying to figure out how to configure Apache and/or start copying files to Apache's htdocs dir, you can simply do this in a directory containing these files:

python -m SimpleHTTPServer

I wish I had known it few years ago...

Leave a Reply