From Raving Techno Rant: Standard Gems: SimpleHTTPServer.test()
You can start up a web server from the current directory on port 8000 with a single line of python.
python -c "from SimpleHTTPServer import test; test()"Even simpler:
python -m SimpleHTTPServerPython Rules!!
沒有留言:
張貼留言