Python Getting Started

Python is really an exciting and robust language. This language has the perfect combination of performance and powerful features that make developing application in Python both fun and easy. Python 3 is the latest version and is considered to be the future of Python world of programming.

Install Python

If you need to install Python in your system, you may download the most recent stable version.

Visit and download the current latest version.

Run the downloaded file. This brings up the Python install wizard, which is really easy to use.

Python download and install

Setting path for Python

To temporarily set environment variables for run Python interpreter, open Command Prompt and use the set command:

C:\>set PATH=C:\Program Files\Python 3.6;%PATH%

To permanently set the default environment variables for run Python interpreter:

My Computer > Properties > Advanced System Settings > Environment Variables > Edit
  1. Right-click 'My Computer'.
  2. Select 'Properties' at the bottom of the Context Menu.
  3. Select 'Advanced system settings'
  4. Click 'Environment Variables...' in the Advanced Tab
  5. Under 'System Variables': Click Edit

Add python directory path to the end of the list (the paths are separated by semicolons(;))

For detailed instruction for setting up Python path: How to set python path

Your First Python Program

Open a text editor (eg. Notepad) and type in the following code exactly as written:

print ("Hello World!")

Save the file as "".

To run this Python source file in script mode, Open command prompt and change to the directory you save the python file ( and type at the command prompt:


You will see the line "Hello World!" as output.

For more detailed tutorial on.... Introduction to Python Programming