Python 3 - Setup and Installation for Windows and Mac

 Python 3 - Setup and Installation

Hello Everyone, welcome back to Learn Python 3! Today we will learn how to setup our local environment (your computer) and install Python.

Go to this link:https://www.python.org/downloads/release/python-385/ and install Python for your Operating System. (If on Linux Ubuntu install with these commands in your terminal: $ sudo apt-get update $ sudo apt-get install python3.6 ). If you need more help, read this article: https://docs.python-guide.org/starting/install3/linux/

Now open your downloads folder and double-click on the file which says "python-3.8.5". Now check the checkbox in the bottom which says "Add Python 3.8 to PATH". Then click "Install Now" as shown in the picture below:

Now just wait for it to download on your computer. After that open up your terminal or command prompt. 

Windows Command Prompt. 

For opening the command prompt on Windows, just search in search bar in the bottom right: "cmd". It will show this on top: Microsoft Windows [Version 10.0.18363.1016] (c) 2019 Microsoft Corporation. All rights reserved.

Mac Terminal

For opening the terminal on Mac: Just hit Command + Space and search for "Terminal". Open the first result. It will just show a white screen.



Now in your terminal or command prompt just type in: 
python(Windows) OR python3(Mac)
It should show something like: 
Python 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit (AMD64)] on win32. Type "help", "copyright", "credits" or "license" for more information.
>>>
Now close the terminal. Go to this link: https://code.visualstudio.com/download and install the text/code editor: Visual Studio Code. Now run the installer similarly and choose your settings. If you would prefer an online editor, use: https://repl.it 
Now I will tell you what we will be making in this series: We are making a fully featured Calculator app for Mac/Windows. The image: 


And that is it! In the next tutorial, we will make our very first Python program! So stay tuned!



Comments

Popular posts from this blog

Python 3 - Introduction

Python 3 - Your First Python Program!