

Type "help", "copyright", "credits" or "license" for more information. Try it by typing python3 into the shell: python3 The Python Interpreter, sometimes referred to as the Python Shell or the Python Interactive Shell, is a tool that lets you interact with Python from the command line. You can also launch the Python Interpreter. Instead, interact with Python 3 using the python3 command and Python 2 using the python command. It is not recommended to remove the Python 2 binary from your system. On Debian 10, Python 2 continues to be supported past the EOL date of Python 2. There are default packages that depend on Python 2. You can verify the specific versions of each by appending -version after typing python or python3 in the shell.īecause of Debian’s commitment to stability, Python 2 is still installed on the system.


Update your system: sudo apt update & sudo apt upgradeĪ fresh Debian 10 installation has both Python 2 and Python 3 installed by default. Complete the sections of our Setting Up and Securing a Compute Instance to create a standard user account, harden SSH access, and remove unnecessary network services. To provision a Linode running Debian 10, follow our Getting Started guide. This guide assumes that you have access to a server or workstation running Debian 10. If you are interested in porting your already existing Python 2 code to Python 3, please refer to the official documentation on how to do so. This guide walks you through installing the latest version of Python 3 on Debian 10. Python 2 is no longer a supported language. This abstraction makes writing and reading the code easier than other languages.Īs of January 1, 2020, the official version of Python is Python 3. A lot of its popularity is based on Python’s high level of abstraction. Python is also a commonly adopted programming language by people entering into the field of software development. It’s useful for writing everything from small scripts to full-scale software.

Python is a popular programming language created in 2000, by Guido van Rossum.
