Friday, December 13, 2019

First thing first

Welcome Friends,
Let's start our journey to learn python. In today's blog, we will install the latest version of python (i.e. v 3.8). It's a very straight forward to install.

Go to Python website and download it using the below link:
https://www.python.org/downloads/

If you have a 64-bit Windows machine, then you can download the 64-bit version of python from
https://www.python.org/downloads/release/python-380/

Once above is installed, let's install pycharm.
https://www.jetbrains.com/pycharm/download/#section=windows

After this is installed, let's launch pycharm. Now, we need to set up the interpreter. For this, click on Run --> Edit Configuration
Select the Python interpreter as Python 3.8

Once we are done, we are good to start with our first python program.

On pycharm, click on File --> New --> Python File
Enter the file name as "hello" and hit enter. This will open a new file with name as "hello.py"

Let's write "Hello World" with our first python program.
Write below in pycharm:
print("Hello World")

Now, right-click anywhere on the screen and select "Run hello.py"

Bingo! We completed our first program in python.

In our next post, we will get into more details. Stay tuned. Till then take care,

No comments:

Post a Comment