3 ms·
and here's lots of alternatives since that solution has issues https://stackoverflow.com/questions/12905426/what-is-a-faster-alternative-to-pythons-http-server
by asiachick 5y ago
and here's lots of alternatives since that solution has issues
https://stackoverflow.com/questions/12905426/what-is-a-faster-alternative-to-pythons-http-server-or-simplehttpserver https://stackoverflow.com/questions/12905426/what-is-a-faste...
Also, the python solution is only relevant if python is already installed. Something that's not true on Windows and is or will soon be true on MacOS.
- vimsee 5y agoWill Apple ditch Python in the future? Typing on an M1 Air and I`m pretty sure Python came per-installed.
- moreati 5y agomacOS 12 dropped PHP. It still has /usr/bin/python (CPython 2.7), but - any app the uses it triggers a message box about the the developer needing to update their app - before any REPL session it prints """ WARNING: Python 2.7 is not recommended. This version is included in macOS for compatibility with legacy software. Future versions of macOS will not include Python 2.7. Instead, it is recommended that you transition to using 'python3' from within Terminal. """ There is no version of Python 3 included with the OS. The XCode app/developer tools include Python 3.8. I expect macOS 13 won't include any Python interpreter out the box
- TingPing 5y agoWhy does it matter if it's included, it's trivial to install and extremely broadly useful?
- asiachick 5y agoI don't consider python trivial to install compared to other solutions. Python is much larger than many of the solutions listed in that S.O. thread.
- teh_klev 5y ago> Something that's not true on Windows. Getting python up an running on Windows is fairly trivial though. You don't even need local admin permissions if your machine is locked down by your IT dept.