Python_2_Examples_and_Notes/26_simplehttpserver.py

6 lines
179 B
Python
Executable File

# How to run it fast
# python -m SimpleHTTPServer 4444
# ...or start transiting to python 3!
# python3 -m http.server 4444
# pushd /serve/anotherdir ; python3 -m http.server 4444