Webserver in ONE LINE OF CODE

This is so cool! I had no idea:

python -c "import SimpleHTTPServer;SimpleHTTPServer.test()"

The details.


Written by Andrew Ittner in misc on Sat 20 March 2004. Tags: programming, python, web