bing
Flat 10% & upto 50% off + Free additional Courses. Hurry up!

Python Program & its Execution

 

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

e.g.

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

Then run this file in command prompt by typing Python hello.py

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!

"0 Responses on Python Program & its Execution"

Training in Cities

Bangalore, Hyderabad, Chennai, Delhi, Kolkata, UK, London, Chicago, San Francisco, Dallas, Washington, New York, Orlando, Boston

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

top

Sales Offer

  • To avail this offer, enroll before 05th December 2016.
  • This offer cannot be combined with any other offer.
  • This offer is valid on selected courses only.
  • Please use coupon codes mentioned below to avail the offer
offer-june

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