SimpleHTTPServer is a python module which allows you to instantly create a web server or serve your files in a snap. The main advantage of python’s SimpleHTTPServer is you don’t need to install anything since you have python interpreter installed. You don’t have to worry about python interpreter because almost all Linux distributions, python interpreter come handy by default.

You also can use SimpleHTTPServer as a file sharing method. You just have to enable the module within the location of your shareable files are located.

The article below guides you on how to set up and use it.

See https://www.tecmint.com/python-simplehttpserver-to-create-webserver-or-serve-files-instantly/

#technology #Linux #Python #Webserver

  • GadgeteerZAOP
    link
    12 years ago

    With Python 3 the command is: python -m http.server