0% found this document useful (0 votes)
117 views15 pages

Dept. of Electrical and Electronics Engineering Motihari College of Engineering, Motihari

This document provides an overview of the Python programming language. It discusses what Python is, the differences between programming and scripting languages, the history and advantages of Python. It also outlines the scope of Python in areas like system programming, GUI development, internet scripting, and databases. The document explains why people use Python due to factors like being open source, powerful, portable, and having an automatic memory manager. It concludes with instructions on installing the Python IDE and running Python programs.

Uploaded by

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

Dept. of Electrical and Electronics Engineering Motihari College of Engineering, Motihari

This document provides an overview of the Python programming language. It discusses what Python is, the differences between programming and scripting languages, the history and advantages of Python. It also outlines the scope of Python in areas like system programming, GUI development, internet scripting, and databases. The document explains why people use Python due to factors like being open source, powerful, portable, and having an automatic memory manager. It concludes with instructions on installing the Python IDE and running Python programs.

Uploaded by

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

PYTHON PROGRAMMING

Dept. of Electrical And Electronics Engineering


Motihari College Of Engineering,Motihari
Submitt Name - Amit Kumar
ed by
Roll no - 20127
Reg- 20110113018
Contents
What is python?

Differences between program and scripting language

History of python

Advantages of python

Scope of python

What can I do with python?

Why do people use python?

Installing Python IDE

Running Python
What is python?
Python is a general purpose programming language that is often applied in
scripting roles. So, python is a programming language as well as a scripting
language.

Python is also called as Interpreted language.

The language places strong emphasis on code reliability and simplicity so that the
programmer can develop applications rapidly.
Python is multi-paradigm programming language which
allow user to code in several different programming styles.

Python supports cross platform development and is available


through open source.

Python is widely used for scripting in Game menu


applications effectively.
Program Language Scripting Language

A program is executed (i.e.. the source is A script is interpreted


first compiled, and the result of that
compilation is expected)
A "script" is code written in a scripting
A "program" in general, is a sequence of language. A scripting language is nothing
instructions written so that a computer but a type of programming language in
which we can write code to control
can perform certain task.
another software application.
History of Python

Invented in the Netherlands, early 90s by Guido Van Rossum

Python was conceived in the late 1980s and its


implementation was started in December 1989

Guido Van Rossum is fan of ‘Monty Python’s Flying Circuis’this is a


famous TV show in Netherlands

Named after Monty Python

Open sourced from the beginning


Advantages of python
Most programs on python require considerably less
number of lines of code to perform the same task compare
to another language like C. So less programming errors
and reduces the development time needed also.

Though Perl is a powerful language, it is highly syntax


oriented. Similarly C also.
Scope of Python
What can I do with python ?

System programming

Graphical user interface


programming

Internet scripting

Component integration

Database programming

gaming images, XML, Robot and more.


Why do people use Python?

The following primary factors cited by python users seem to be these

Python is object-oriented
Structure supports such concepts as polymorphism operation overloading & multiple inheritance

Its free (Open source)

Downloading and installing python is free

and easy source code is easily accessible


It’s powerful
Dynamic typing

Build-in types & tools

library utility

Third party utility (e.g. Numeric, NumPy, SciPy)

Automatic memory management

It’s portable
Python runs virtually every major platform used today

As long as you have a compatible python interpreterinstalled, python programmes will run in exactly
the samemanner, irrespective of platform .
Installing Python IDE
Python is pre-installed on most Unix systems,including Linux and
MAC OS X

But for in Windows operating systems , user can download from the
http://www.python.org/downloads/

-From the above link download the latest version of python IDE and
install, recent version is 3.4.1 but most of them uses version 2.7.7 only
Running Python
Once you are inside the Python interpreter, type in commands at will.

Examples:

>>>print 'Hello world’

Hello world
Thank
you

You might also like