3 ms·
Unless you're on a mac, or various Linux distros where python 2 is shipped by default still.
by maccard 7y ago
Unless you're on a mac, or various Linux distros where python 2 is shipped by default still.
- rimliu 7y agoMac comes with PHP, so you can do php -S localhost:3000 -t ./
- maccard 7y agoAnd now you have: php -S localhost:3000 -t ./ on mac python -m http.server on some versions of linux, python -m SimpleHttpServer 8000 on others, and any of the above on windows. How is that easier than putting file://path/to/foo.html into my browser window, as someone getting started in web development?