Python 3 · Running Python

Run a one-line command

Run a snippet from the command line.

python3 -c "print(2 ** 10)"

Official Python 3 documentation

More running python commands

All running python commands · Python 3 cheatsheet

Was this page helpful?