Running a simple HTTP web server with one terminal command and python - Linux Tutorials - Learn Linux Configuration

What we want to show you in this tip article is how to run a very simple and lightweight web server using only Python as a prerequisite. Use cases can be very different, depending on your needs : you might need web server functionality in your code (e.g. a microservice), you might want to have a browser-based file manager (you will soon see what we mean by that) or you just want to test your web page and/or start learning web development and Apache is a bit much for the task.


This is a companion discussion topic for the original entry at https://linuxconfig.org/running-a-simple-http-web-server-with-one-terminal-command-and-python/