Flat 10% & upto 50% off + 10% Cashback + Free additional Courses. Hurry up
  • Live Instructor-led Classes
  • Expert Education
  • 24*7 Support
  • Flexible Schedule


Python programs can executes in three different modes which are –

  • Interactive Mode
  • Script Mode
  • Using IDE


1. Interactive Mode

You can enter python in the command prompt and start working with Python.

interactive mode1


Press Enter key and the Command Prompt will appear like:

interactive mode2


Then execute your Python Programs as follows –

interactive mode3


2.   Script Mode

You can write Python program in a separate file using any editor of OS via this mode


Type print ‘hello world’ in notepad and save it to with .py extension suppose this file name is

Then run this file in command prompt by typing Python

It will print hello world as output.


3. Using IDE

You can execute the python program in graphical user interface. Open the python as follows:

Click on Start button -> All Programs -> Python -> IDLE (Python GUI)

In IDE you can use

  • Interactive Mode
  • Script Mode

Learn more about PYTHON TOOLKIT in this insightful blog now!

Previous Next

Download Interview Questions asked by top MNCs in 2018?

Learn SQL in 16 hrs from experts

"0 Responses on Python Program & its Execution"

100% Secure Payments. All major credit & debit cards accepted Or Pay by Paypal.

Sales Offer

Sign Up or Login to view the Free Python Program & its Execution.