Let’s start with Python

L

Hello all, I'm Benzir Ahammed Shawon from Bangladesh. I'm an undergraduate student of North South University. My undergraduate major is Computer Science and Engineering. From today(12 July 2020), I'm starting writing about Python programming language.

Today I'm going to show you, how to install Python on your personal computer.

There're two versions of Python programming language, Python 2 and Python 3. I'm recommending you to install Python 3 because it's the latest version of Python programming language. Every programming language evolves as new ideas and technologies emerge, and the developers of Python have continually made the language more versatile and powerful. Most changes are incremental and hardly noticeable, but in some cases code written for Python 2 may not run properly on systems with Python 3 installed.

If you are a macOS user then you don't have to install Python in your system. It's already installed in macOS systems. Once you know Python is installed, you’ll need to install a text editor and make sure it’s configured correctly. You can check the installation status by using the terminal. Press command-spacebar, type terminal, and then press enter. To find out whether Python is installed, enter python with a lowercase p. You should see output telling you which version of Python is installed on your system and a >>> prompt where you can start entering Python commands, like this:  
This output tells you that Python 3.7.6 is currently the default version installed on this computer. When you’ve seen this output, press ctrl-D or enter exit() to leave the Python prompt and return to a terminal prompt.
 

If you are a Windows OS user then go to this link: https://www.python.org/downloads/ and download Python in your PC. You should see two buttons, one for downloading Python 3 and one for downloading Python 2. Click the Python 3 button, which should automatically start downloading the correct installer for your system. After you’ve downloaded the file, run the installer. Make sure you check the option Add Python to PATH, which will make it easier to configure your system correctly.

Make sure you check the box labeled Add Python to PATH
  To start a python terminal session, setting up your text editor, that will be straightforward if you first set up your system to run Python in a terminal session. Open a command window and enter python in lowercase. If you get a Python prompt (>>>) with texts mentioned below, Windows has found the version of Python you just installed.
C:\> python
Python 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 22:15:05) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
Now let's make a test in the terminal session!  

About the author

Benzir Ahammed Shawon

I'm Benzir Ahammed Shawon (বাংলা: বেনজির আহম্মেদ শাওন), also known as Benzir A. Shawon, from Beautiful Bangladesh. I'm an undergrad student. I'm studying Computer Science and Engineering under School of Engineering and Physical Science at North South University. I'm a computer science enthusiast. I love to write codes also blogs about those.

Add Comment

Benzir Ahammed Shawon

I'm Benzir Ahammed Shawon (বাংলা: বেনজির আহম্মেদ শাওন), also known as Benzir A. Shawon, from Beautiful Bangladesh. I'm an undergrad student. I'm studying in the Department of Electrical and Computer Engineering under the School of Engineering and Physical Science at North South University. My undergraduate major is Computer Science and Engineering, and minor is Mathematics. I'm a competitive programmer. I love to solve programs. I'm a Marxist and a leader of the historical progressive leftist student organization Bangladesh Students' Union.