All apps/Python

Python

python3

The Python interpreter: run a script, a module or a one-line command.

Runs as python3|macOS, Linux, Windows|www.python.org

Command form

ai-draft · 3 tasks · 8 fields

Run a script, a module (-m) or a command string (-c). Choose one of script, module or command.

Opens the form; the finished command lands at your prompt, unrun
otty gui python3
Run PythonExample values, fixed in this page — nothing here reaches a terminal
Basic
Script*
file
Interactive after run
-i
Advanced
Unbuffered output
-u
TasksEach one presets the form for one job
Run a script
scriptunbufferedinteractive
Run a module
moduleunbuffered
Run a command
command
ParametersOnly these flags are editable in the form
Script
path · positional 0
Module (-m)
string
-mhttp.server
Command (-c)
string
-c
Interactive after run
boolean
-i
Unbuffered output
boolean
-u
Isolated mode
boolean
-I
Remove asserts
boolean
-O
Warning control
string
-W
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed python3 against its version. A form that does not match your version is not offered.