1👍
Simplest way to do this in Python without any other lib dependencies is to use the built in SimpleHTTPServer. You can run the below command to server the files from the current directory
python -m SimpleHTTPServer 8080
Then you can access any file from the directory you are serving with the command above by going to http://yourip:8080/yourfile.html
Source:stackexchange.com