How Do I Run Python 3 on Ubuntu?

How Do I Run Python 3 on Ubuntu?
Contents

How do I run Python 3 in Linux terminal?

To start a Python interactive session, just open a command-line or terminal and then type in python , or python3 depending on your Python installation, and then hit Enter . Here’s an example of how to do this on Linux: $ python3 Python 3.6.

How do I run Python on Ubuntu?

Open a terminal window and type ‘python’ (without the quotes). This opens python in interactive mode. While this mode is good for initial learning, you may prefer to use a text editor (like Gedit, Vim or Emacs) to write your code. As long as you save it with the .

Sophia Al-Mansoor
Author

Sophia Al-Mansoor

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.