read output console python to web server python 3 code example Example: python3 webserver command line python3 -m http.server