Serve Up Files Easily With the Python SimpleHTTPServer
Have you ever needed to quickly share a folder with another machine? Rather than deal with samba, nfs, or apache, you can just run a simple command instead.
python -m SimpleHTTPServer 8080
You can then connect from another machine on the 8080 port like this:
And you’ll be able to download any of the files from the directory.