Installing Python in Windows

Please download and install Python 3.x from:

When the download is completed, double-click the file and follow the instructions to install it. Now you can write your first python program using either approach 1 or approach 2 described below.

Approach 1:

When Python is installed, a program called IDLE is also installed along with it. It provides graphical user interface to work with Python.

  1. Open IDLE, copy the following code below and press enter.

    print("Hello, Python!")

  2. To create a file in IDLE, go to File > New Window (Shortcut: Ctrl+N).                                                                                                        
    Write Python code and save (Shortcut: Ctrl+S) with .py file extension like: or

    print("Hello, World!")

  3. Go to Run > Run module (Shortcut: F5) and you can see the output. Congratulations, you’ve successfully run your first Python program.

Approach 2:

1. Install the Atom Text Editor in your system. You can download and install Atom from this site:

After successfully installation you will get a window like this:

2. Now click the File tab to create a new file. Type the below code and save it as .py file. for example you can give a name like

print("Hello Make Me Analyst!!")

3. Open command prompt. Go to the the folder using cd command where you stored file. and type python to run your first program.

Approach 3:

You can run your python code from here just using your browser. No installation required.

Try it Yourself

Paste the below code into the command prompt and click run.

print("Hello Make Me Analyst!!!")

Installing Python in Windows

Values, Variables and Types