Python Hello World!

Introduction: Python Hello World!

This is a step by step tutorial on creating a simple Python program using PyCharm Community Edition.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Download PyCharm Community Edition

PyCharm can be downloaded from the JetBrains website for free at the following link:

To download the PyCharm Community Edition, Simply click on the black download button.

Step 2: Find the Installation File

When PyCharm has finished downloading, you should be able to find the installation file in your Downloads folder.

Double click on the PyCharm installation file.

Step 3: Installation

When the installation is opened you will be presented with the PyCharm Community Edition Setup window.

The first screen presents an introduction.

Click Next.

The second screen is used to select an installation location. This is useful if your computer is low on space.

Select where you want PyCharm to be installed and click Next.

The third screen presents shortcut options and gives the option to associate .py files with the PyCharm program.

This means that if a file with the extension .py is opened on your computer, it would attempt to open the file using PyCharm.

Click Next.

The fourth screen is used to create a Menu Folder for PyCharm.

Click Next.

The fifth screen will confirm that PyCharm was successfully installed.

Check the box next to "Run PyCharm Community Edition"

Then Click Next.

Step 4: Initial Setup

When PyCharm is opened for the first time, a initial configuration window will be presented.

This window allows the user to change some aesthetic attributes of the PyCharm program.

Click OK.

The Initial configuration window will disappear and you will see the Welcome screen.

Click on "Create New Project" to begin creating your program.

Step 5: Create a Project

You will now be presented with the New Project window.

The default location will include "untitled" at the end.

This location can be changed to almost anything you want but we will change it to "myfirstprogram".

Click Create.

Step 6: Create a Python File

PyCharm and other IDEs (Integrated Development Environment) usually open with a "Tip of the day" window. These are more useful for experienced programmers, usually tips pertaining to shortcuts which speed up the programming process are given.

Go ahead and close the "Tip of the day" window.

In order to create our python file where we want it, we right click on the myfirstprogram folder, hover over new, then select Python File.

This will open up a "New Python File" window in which you can name the file.

Let's name it "HelloWorld" and select OK.

Step 7: Code Your Program

Python is a very powerful programming language which allows the programmer to complete a lot using very little code.

For our simple program we will only need one line of code:

print("Hello, World!")

Type this into the and we will be ready to run our program.

Step 8: Run Your Program

Click Run at the top of the screen.

Click Run on the drop down menu.

Click HelloWorld on the Window that appears.

Your program will now run on the bottom of the screen.

CONGRATULATIONS! You have completed your very first Python program!

Be the First to Share


    • Arduino Contest 2020

      Arduino Contest 2020
    • First Time Author Contest

      First Time Author Contest
    • Space Challenge

      Space Challenge

    4 Discussions


    Question 1 year ago on Step 7

    I can't click create, the interpreter field is empty?


    Answer 1 year ago

    You probably need to go to and download the newest version of Python. Then add the interpreter by going to File->Settings->Project Settings->Project Interpreter->Python Interpreters, click the plus button and add where it installed at.


    Reply 1 year ago

    THX :)


    2 years ago

    Thanks for sharing :)