8 ms·
Oh, and python -m http.server 12345 serves files in the current directory over HTTP on port 12345. I'll stop now, but I love how Python module developers a
by jasomill 6y ago
Oh, and
python -m http.server 12345
serves files in the current directory over HTTP on port 12345.
I'll stop now, but I love how Python module developers add these "hidden" command-line features.
P.S.: You can — and, at this point in history, probably should — s/python/python3/ in all these examples.