Have python and want to share files via a browser

home | blog | Terrible people and places | Covid-19 links | Teh Internet | guest blog |rants | placeholder | political | projects | Gwen and Liam | Citadel patched | Tools | Scouts

nice write up Nikesh Jauhari!

copy of what was done (in case linuxpoison blog goes away)
simple 1 line current dir file server!
python -m SimpleHTTPServer 8080
Or cgi with this:
python -m CGIHTTPServer
and browse to : http://localhost:8080/myscript.py
Works with non-python cgi as well!
Sweet python webserver.

For Python 3 - find info here:
python3 -m http.server --help