python3 http server serve one file code example
Example 1: python local server command
On Ubuntu go to Commands and hit these two commands->
cd folderName
python3 -m http.server 8080
Example 2: http.server python
python -m http.server 8000
On Ubuntu go to Commands and hit these two commands->
cd folderName
python3 -m http.server 8080
python -m http.server 8000