What ispython?
Pythonisa generalpurpose programming language
inscripting
that isoftenapplied So,python isa
roles.
programming language as well as a scripting
language.
Pythonisalsocalled as Interpreted
language.
The language places strong emphasis on code
reliability
and simplicity
so that the programmer can
rapidly.
developapplications
4
13
Python is multi-paradigmprogramming language,
which allow user to code in several different
programmingstyles.
Python supportscrossplatformdevelopment and is
available
throughopen source.
inGame menu
Python iswidelyused for scripting
effectively.
applications
5
13
History
ofPython
intheNetherlands,
Invented early90s by GuidoVan
Rossum
Pythonwas conceivedinthelate1980s and its
implementation inDecember 1989
was started
GuidoVan Rossum is fan of'MontyPython's Flying
Circuisthisisa famous TV show inNetherlands
Namcd afterMonty Python
Open sourcedfrom thebeginning
Ad Download to read ad-free
6
13
ForLife
Python'sBenevolentDictator
in
*Pythonisan experiment
how much freedom
[Link]
much freedom and nobody
code;
can readanother's
and
toolittle
is
expressiveness
Goo endangered."
-GuidoVan Rossum
AdvantagesofPython
Most programs on pythonrequireconsiderably less
number oflinesofcode to performthe same task
compare to [Link] less
programming errorsand reducesthe development
timeneeded also.
ThoughPerlisa powerfullanguage,
itishighly
C also.
Similarly
syntaxoriented.
I
What can do withpython?
System programming
Graphical
user interface
programming
Internet
scripting
Component integration
Databaseprogramming
Gaming,images,XML, Robotand more.
13
Why do peopleuse python?
The following
primaryfactorscited
by pythonusersseem
tobe these:
Pythonisobject-oriented
supportssuchconceptsas polymorphism
Structure
operation
overloading& multiple
inheritance
Itsfree(Opensource)
Downloadingand installing
pythonisfreeand easy
sourcecode iseasily
accessible.
13
It's
powerful
> Dynamictyping
> Build-intypes& tools
>library
utility
> Thirdpartyutility
(e.g.
Numeric,NumPy, SciPy)
> Automatic
memory managemnent
• It's
portable
Pythonrunsvirtually
everymajorplatform
used today
As longas you have a compatiblepythoninterpreter
pythonprogrammes willruninexactly
installed, the same
ofplatform.
manner,irrespective
PythonIDE
Installing
on most Unix systems,
Python ispre-installed
includingLinuxand MAC OSX
But forinWindows operatingsystems ,usercan
download from the
[Link]
- From the above link
downloadthe latestversionof
pythonIDEand install,recentversionis 3.4.1
but
most ofthem uses version
2.7.7only
RunningPython
Once you areinside
thePythoninterpreter,
type incommands at will.
•Examples:
>>>print'Hello
world'
Helloworld