Learning Python-- Installing the compiler and writing a Hello World program.

in GEMS6 years ago

Hello everyone

Today we are going to install an IDE for python and we are going to write our first hello world program in python. Python is one of the most powerful programming languages. We will learn more about Python programming languages in our upcoming posts, for now, let's start our post.

In this tutorial, we are going to use this IDE named PyCharm This is a compiler by JetBrains so we we are going to so. If you want to use any other compiler then you can use whatever you want but if you ask me I will recommend this.
Go to the JetBrains website
image.png

  • Choose your operation system and and click on download.
    image.png

  • After few seconds the file should start downloading.
    image.png

  • When the file is downloaded click on it to start installing
    image.png

  • After successfully downloading. When you open the downloaded file it should open something like this.

image.png

  • click on next and on the next page it will ask for the location where you want to install the compiler selects the location and click next.

image.png

  • Click on next. Now the installation is started. Wait for it.
    image.png

After successful installations. Click run PyCharm and finish.

image.png

On the next page, it will ask for an Email. Enter your email and select the free version
image.png

Create a new project. Wait for some time while the compiler is setting the environment for you.

After the project is created. Write click on the folder then new and then scroll down to create a python file.

image.png

Name the file and then create it.

image.png
Now we are ready to write our code.

print('hello world') just wrote this line of code to print hello world on the console.

image.png

This much is enough for today. If you like the post please do upvote and comment
ntitled-1.png

Sort:  

I have picked your post for my daily hive voting initiative, Keep it up and Hive On!!