python
Verified for current stable LTS
Python Commands
Python command syntax with verified terminal examples.
Commands
8 commands for Python
python Operations
Python Command: Debug Python Script Interactively
python -m pdb <path/to/file.py> python Archive
Python Command: Execute File And Start Repl
python -i <path/to/file.py> python Operations
Python Command: Execute Python Expression
python -c "<expression>" python Operations
Python Command: Execute Python File
python <path/to/file.py> python Operations
Python Command: Install Package Using Pip
python -m pip install <package> python Operations
Python Command: Run Script Library Module
python -m <module> <arguments> python HTTP
Python Command: Start Http Server Port 8000
python -m http.server python Archive
Python Command: Start Repl Interactive Shell
python Suggest a Python Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Python workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.