Skip to content

Instantly share code, notes, and snippets.

@SlyCodePanda
Created January 6, 2020 00:44
Show Gist options
  • Save SlyCodePanda/711b92f035fedc35711fd3fa7b585492 to your computer and use it in GitHub Desktop.
Save SlyCodePanda/711b92f035fedc35711fd3fa7b585492 to your computer and use it in GitHub Desktop.
# Python has a HTTP server built into the std library.
# Python 3.x
python3 -m http.server
Python 2.x
python -m SimpleHTTPServer 8000
# These will server the current directory as http://localhost:8000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment