python web server module 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: python http server command line
python -m SimpleHTTPServer
On Ubuntu go to Commands and hit these two commands->
cd folderName
python3 -m http.server 8080
python -m SimpleHTTPServer