This question already has answers here: What is the Python 3 equivalent of “python -m SimpleHTTPServer” (7 answers) Closed 8 years ago. I want to set up Python SimpleHTTPServer...
I’m trying to set up a server with python from mac terminal. I navigate to folder location an use: python -m SimpleHTTPServer But this gives me error: socket.error: [Errno...
Python’s http.server (or SimpleHTTPServer for Python 2) is a great way of serve the contents of the current directory from the command line: python -m http.server However, as far...
What is the Python 3 equivalent of python -m SimpleHTTPServer? 7 From the docs: The SimpleHTTPServer module has been merged into http.server in Python 3.0. The 2to3 tool will...