Python – Hello World Program

Click the link: “Python – Hello World Program

In this tutorial we will write our first Hello World Python program.

Create a new file by the name HelloWorld.py and then write the following code inside.

print("Hello World")

Now, open the Terminal (for Mac and Linux) and type the following command.

$ python HelloWorld.py

Using PyCharm IDE

In the following example we will be using PyCharm Community Edition IDE to write and run our “Hello World” Python program.

Step #1: Create New Project

When you open the IDE you will see the following. Select the first option ‘Create New Project’.

Read more…

Advertisements