Launch a simple HTTP Server in One Line of Python

I always google this snippet when I need it, so I will put it here for easier access.

python3 -m http.server 8080 -d ./public

Leave a Reply

Your email address will not be published. Required fields are marked *