martes, 3 de mayo de 2011

Simple (one line) web server python

the simplest way to serve up page or file sharing is go to the directory and run:
$ python -c "import SimpleHTTPServer;SimpleHTTPServer.test()"

Then go to http://:8000 and see your files :D

1 comentario: