Python 3 · Running Python

Run a script

Run a Python file. On Windows, py or python usually replaces python3.

python3 script.py

Official Python 3 documentation

More running python commands

All running python commands · Python 3 cheatsheet

Was this page helpful?