5/21/2023 0 Comments How to launch python on mac![]() ![]() Hit return and Python 3 will instantly start a simple HTTP server from the directory in which the command was executed. ![]() OR (depending on how Python 3.x is installed and named): We’re assuming you have already installed or updated to Python 3.0+ on the Mac, this variation of the command requires Python 3.0 or newer.įrom the command line, enter the following syntax exactly*: How to Start a Web HTTP Server in Python 3.0+ We’ll show you how to start a simple web server with Python 3 by using the new Python 3.0+ equivalent of the python -m SimpleHTTPServer command. Not to worry, the simple web server Python trick still works in Python 3 for Mac (and for Linux and Windows too of course, but we’re obviously covering MacOS), it’s that the command syntax is just slightly different.
0 Comments
Leave a Reply. |