0% found this document useful (0 votes)
6 views9 pages

Introduction To Python

Uploaded by

hariomnarayan356
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views9 pages

Introduction To Python

Uploaded by

hariomnarayan356
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

INTRODUCTION TO PYTHON PROGRAMMING LANGUAGE

● Python is an open source (Freely available), object oriented high level programming language
developed by Guido Van Rossum in the Netherlands.
● Python is a general purpose programming language that can be used effectively to build any
kind of program that does not require direct access to computers hardware.

Features of Python :

● Easy
● High Level
● Free and open source
● Portable (Platform Independent)
● Interpreted
● Dynamic Typed
● Large standard Library
● Object Oriented
● GUI Programming
Applications of Python :

● Amazon uses python to analyse customer’s buying habits and search patterns.

● Facebook uses python largely to process images.

● Google uses python in its search systems.

● YouTube uses python for its video sharing service.

● Applications like Instagram, Spotify and Bit Torrent uses python too.

● NASA uses pythonfor their scientific programming taks.

● Python is mostly used in Artificial Intelligence systems.


Python is a cross-platform programming language which means it can run on multiple
platforms like Windows, MacOS, Linux.
To write and run a Python program, we need to have a Python interpreter installed on our
computer.

Installing Python (3.12.4)

Official website : https://www.python.org/downloads/

Downloading and Setting up Python for use


● Download Python from python.org using link python.org/downloads
● Select appropriate download link as per Operating System [Windows 32 Bit/64 Bit, Apple
iOS]
● FOR EXAMPLE, for Windows 64 Bit OS
● Select the following link
Python IDLE installation
Integrated Development & Learning Environment (IDLE)

IDLE (GUI integrated) is the standard, most popular Python development environment.
● IDLE is an acronym of Integrated Development Environment.
● This environment makes it easy to write programs.
● IDLE comprises of two modes of execution i.e
● Python Shell (Interactive Mode) and Python Editor (Script Mode).

Interactive Mode :
● Python shell is an interactive window where you can type in the Python code and see the
output in the same window.

● It is an interface between Python commands and the OS.

● The three greater than signs (>>>) are called the prompt or Python command prompt.
Script Mode :
● In script mode, we can write our code in a text file then save it with a .py extension
which stands for python.
● To write a Python script/program, we need to open a new file - File >> New File, type a
sequence of Python statements for solving a problem, save it with a meaningful name -
File >> Save, and finally Run the program to view the output of the program.
● After writing the code we run it by clicking “Run” then “Run Module” or simply press F5.

Output :

Prepared by :
Hitesh Pujari

You might also like