>_ linuxcommand.dev
Startseite python
Programming

python

Python Interpreter ausführen

Ubuntu CentOS Debian SUSE Fedora RHEL Arch Alpine macOS
Verifiziert: 2026-03-04
Syntax
$python [options] [-c cmd | -m mod | file | -] [arg] ...
Optionen
-c
-m
-V
--version
Beispiele
$python script.py
$python -c "print("Hello World")"
$python -m pip install package
Typische Anwendungsfälle
?
Standardverwendung
python --help
Hinweis Der Standard-Python-Interpreter. Verwende python3 für explizite Python 3 Version.
Export