Python Rocks!
Want a web server in 1 line of code?
CD to a directory with files you want served up and type
python -c “import SimpleHTTPServer;SimpleHTTPServer.test()”
Nifty!
Thanks to Gary Robinson for the tip.
All postings/content on this blog are provided "AS IS" with no warranties, and confer no rights. All entries in this blog are my own and/or of the hacker who defaced this page and don’t necessarily reflect the opinions, positions or strategies of my my current or former employers' or sponsors' . The content on this site is licensed under a Creative Commons Attribution By license.
Copyright (C) 2004-2012
Want a web server in 1 line of code?
CD to a directory with files you want served up and type
python -c “import SimpleHTTPServer;SimpleHTTPServer.test()”
Nifty!
Thanks to Gary Robinson for the tip.
This entry was posted on Friday, July 23rd, 2004 at 9:21 pm and is filed under General. You can follow any responses to this entry through the RSS 2.0 feed. Responses are currently closed, but you can trackback from your own site.
Comments are closed.

