The python3 command

an interpreted, interactive, object-oriented programming language 1 example from the lessons of the IVski Linux Playground — try them in the terminal next to them.

Options in the examples

-m module-name
Searches sys.path for the named module and runs the corresponding .py file as a script.

Examples

curl -s https://jsonplaceholder.typicode.com/posts/1 | python3 -m json.tool

Lessons that use python3

Related commands