Python 3 cheatsheet
Python 3: Running Python
6 common Python 3 tasks.
Run a script
Run a Python file. On Windows, py or python usually replaces python3.
python3 script.py
Serve the current folder
Start a simple web server on port 8000.
python3 -m http.server 8000
Caution: For local use only. It is not meant for production.