Skip to content

Instantly share code, notes, and snippets.

@brunurd
Created September 27, 2018 16:26
Show Gist options
  • Save brunurd/8b36bc54e28178e4a7fc750ef2cb3381 to your computer and use it in GitHub Desktop.
Save brunurd/8b36bc54e28178e4a7fc750ef2cb3381 to your computer and use it in GitHub Desktop.
Start a static server on windows with Python and a 9 lines script.
@echo off
net stop was /y
echo Opening browser...
start "" http://localhost/
echo Starting Python 3.7.0 simple http server...
python -m http.server 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment