Installing the Interpreter

 

Before we can start coding, we need to download the appropriate interpreter on the computer.


An interpreter helps with running code that is entered into its text editor.


We will download Python 3 because according to the official site, 'Python 3 eliminates many quirks that can unnecessarily trip up beginning programmers'.


However, Python 2 is still widely used as it is very similar to Python 3. Therefore, there will be no problem understanding Python 2 codes.


To install the interpreter, we will go to https://www.python.org/downloads/ . Click on the version for Python 3 and the installer will start downloading.


To download a different version, we will scroll down and look at the list of different versions. At the end of the page, there will be a table of different installers. We will download the correct installer by first identifying the correct operating system on the computer (i.e. Windows 10, 11, Mac OS or Linux) and the processor (i.e 32-bit or 64-bit) that it uses. If you download the wrong installer, it will give you an error and it will mean that you can still attempt downloading the correct installer.


Once the interpreter installs, we can then start coding.

No comments:

Post a Comment