Most of you have a web server installed on your network somewhere. In fact, most of you probably have several. In a pinch, however, getting to the web directory can be difficult. Thankfully, there's a super-simple, incredibly awesome one-liner you can type to get a functional web server running and serving out your current directory: python -m SimpleHTTPServer.
展开▼