Sep 19, 2020

The Python Web Server

There is a simple trick on linux if you want to share the content of a folder on your local computer. You can simply navigate to this folder and run python3 -m http.server <port>. This is a great way of being able to share content you have on your computer. It is also great if you, like me, generate html content and then want to check how this content would look, where you also need to serve css and javascript that you have laying around on your machine.