Guided By : Submitted By :
Mr. Nitesh Jangir Narendra Singh
Jatin Soni
Ankit Rawat
What is Python…?
History of Python
Scope of Python
What can I do with Python?
Who uses Python today?
Why do people use Python?
Installing Python IDE
Running Python
Python code execution
A Sample Project
Python is a general purpose programming language that
is often applied in scripting roles then it is also called
as Scripting language.
Python is also called as Interpreted language.
Python's simple, easy to learn syntax emphasizes
readability and therefore reduces the cost of program
maintenance.
Invented in the Netherlands, early 90s by
Guido van Rossum
Python was conceived in the lat 1980s and its
implementation was started in December
1989
Guido Van Rossum is fan of ‘Monty Python’s
Flying Circus’, this is a famous TV show in
Netherlands
Named after Monty Python
Open sourced from the beginning
“Python is an experiment in how
much freedom programmers
need. Too much freedom and
nobody can read another's code;
too little and expressiveness is
endangered.”
- Guido van Rossum
"My original motivation for creating Python was
the perceived need for a higher level language in
the Amoeba [Operating Systems] project.
I realized that the development of
system administration utilities in C was taking
too long. Moreover, doing these things in the
Bourne shell wouldn't work for a variety of
reasons. ...
So, there was a need for a language that
would bridge the gap between C and the shell”
- Guido Van Rossum
Science
- Bioinformatics
System Administration
-Unix
-Web logic
-Web sphere
Web Application Development
-CGI
-Jython – Servlets
Testing scripts
System programming
Graphical User Interface Programming
Internet Scripting
Component Integration
Database Programming
Gaming, Images, XML , Robot and more
Python is being applied in real revenue-
generating products by real companies. For
instance:
Google makes extensive use of Python in its web
search system, and employs Python’s creator.
Intel, Cisco, Hewlett-Packard, Seagate,
Qualcomm, and IBM use Python for hardware
testing.
ESRI uses Python as an end-user customization
tool for its popular GIS mapping products.
The YouTube video sharing service is largely
written in 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, and
multiple inheritance.
It's free (open source)
Downloading and installing Python is free and
easy Source code is easily accessible
It's powerful
- Dynamic typing
- Built-in types and tools
- Library utilities
- Third party utilities (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
interpreter installed, Python programs will
run in exactly the same manner, irrespective
of platform.
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
https://www.python.org/downloads/
- from the above link download latest
version of python IDE and install, recent
version is 3.4.1 but most of them uses
version 2.7.7 only
After installing the Python Ver#2.7.7, go to
start menu then click on python 2.7 in that one
you can select python (command line) it is
prompt with >>>
Once you're inside the Python interpreter, type
in commands at will.
Examples:
>>> print 'Hello world'
Hello world
Python’s traditional runtime execution model:
source code you type is translated to byte
code, which is then run by the Python Virtual
Machine. Your code is automatically compiled,
but then it is interpreted.
Source code extension is .py
Byte code extension is .pyc (compiled python code)
Some snapshots of the project is given in some
of the next slides.
Source code
project
Main Page
Add menu
Show menu