Okay so first off let me be clear that I have "BASIC" knowledge of (HTML, CSS and JS) and a little bit of Python and am not much aware of various technologies and programming stuffs. So I hope the answer would be easy.
I created a sample folder which has only two HTML files:index.html and sample.html which have almost nothing in them except a hyperlink to each other. In cmd, I used the command: python -m http.server to create a localhost server for the folder. But as expected it gives 404 when I type:localhost:8000/sample on browser and works only with localhost:8000/sample.html. How do I remove the .html from URL?