$ python -m SimpleHTTPServer # requires Python 2.4 or $ python -c "from SimpleHTTPServer import test; test()" # older Python