Python SimpleHTTPServer to serve a directory (50 words)

Something I always forget and have to search for is how to use Python to serve a directory for local testing and the like. Including it below so I have a copy I can always easily look it up.

python -m SimpleHTTPServer 8090

and in Python 3

python3 -m http.server