Programming
python
Run Python interpreter
Ubuntu
CentOS
Debian
SUSE
Fedora
RHEL
Arch
Alpine
macOS
Verified: 2026-03-04
Syntax
$python [options] [-c cmd | -m mod | file | -] [arg] ...
Optionen
-c
-m
-V
--version
Examples
$python script.py
$python -c "print("Hello World")"
$python -m pip install package
Typical use cases
?
Standard usage
python --help
Note
The default Python interpreter. Use python3 for explicit Python 3 version.
Export