Vous êtes sur la page 1sur 13

Python - Introduction

B.BHUVANESWARAN
ASSISTANT PROFESSOR / CSE
RAJALAKSHMI ENGINEERING COLLEGE
RAJALAKSHMI NAGAR
THANDALAM
CHENNAI 602 105
Objective

What is Python?
History of Python
Python features
What is Python?

Python is Interpreted
Python is Interactive
Python is Object-Oriented
Python is Beginner's Language
History of Python

Python was developed by Guido van Rossum.


In the late eighties and early nineties.
At the National Research Institute for Mathematics
and Computer Science in the Netherlands.
History of Python

Python is derived from many other languages,


including
ABC
Modula-3
C
C++
ALGOL-68
SmallTalk
Unix shell and
other scripting languages.
Python Features

Easy-to-learn
Easy-to-maintain
A broad standard library
Interactive Mode
Portable
Expandable
Databases
GUI Programming
Scalable
Available Online Interpreters

http://codepad.org/
http://www.pythontutor.com/visualize.html#mode=
edit
http://www.codeskulptor.org/
Command Line Interpreter

Python has command line interpreter that helps in


executing python commands by directly entering
into python without writing a script.
Examples

>> 2 + 2
4
>> 50 - 5*6
20
>>> (50 - 5*6) / 4.0
5.0
Examples...

>>> 8 / 5
# division always returns a floating point number
1.6
>>> width = 20
>>> height = 5 * 9
>>> width * height
900
Python on Desktop

https://store.enthought.com/downloads/
Queries?
Thanks...!