one line http server
Written by: daniel
September 7, 2010
Sometimes I find myself doing some simple html project. Usually, it could be seen right from the hd using file://, but there are some stuff, that doesn’t necesarily work this way.
Instead of creating a new apache account etc. etc.. I found this simple line to create a http static server that server files from the current directory:
python -m SimpleHTTPServer 8900
and you can access your files with http://localhost:8900
Posted in


