If you think your friends would find this tip useful, please share it with them—I’d really appreciate it. Here’s the link: View in browser |
ENC: 🐍PyTricks: Pythons built-in HTTP server

“`bash
# Python has a HTTP server built into the
# standard library. This is super handy for # previewing websites.
# Python 3.x $ python3 -m http.server
# Python 2.x $ python -m SimpleHTTPServer 8000
# (This will serve the current directory at
# http://localhost:8000)
“`