To create Python programs, we need an interpreter…
After installing the interpreter, as described in the previous topic, we can start building Python applications. So, let's create the first simple program.
To create Python programs, we need an interpreter. To install it, go to the website https://www.python.org/ and on the main page in the Downloads section we will find a link to download the latest version of the package: filepathfield.
Let's follow the link to the page with the description of the latest version of the language. Closer to the bottom on it you can find a list of distributions for different operating systems. Let's select the package we need and download it. For example, in my case it is Windows 64-bit, so I select the link for the Windows x86-64 executable installer package. After downloading the distribution, install it.
Here we can set the path where the interpreter will be installed. Leave it as default, that is, C: Users [username] AppData Local Programs Python Python36 .
In addition, at the very bottom, check the "Add Python 3.6 to PATH" checkbox to add the path to the interpreter to the environment variables.
Following the Python, after installation in the Start menu on Windows we can find icons for accessing various python utilities.
Here, the Python 3.7 (64-bit) utility presents the interpreter in which we can run the script. In the file system, the interpreter file itself can be found along the path where the installation was made. On Windows, the default path is C: Users [username] AppData Local Programs Python Python37, and the interpreter itself represents the python.exe file. On Linux OS, installation is performed along the path /usr/local/bin/python3.7. Learn more in the full article here https://python.org/data-science-from-scratch-first-principles-with-python/.