Programming with Python
Programming with Python
python
GRADE 11
INDRAJA ALAND
INTRODUCTION
Program:
A set of instructions to be executed by a
computer.
Programming Language:
Language that is used to write the set of
instructions to the computer.
Introduction to Python:
It is portable and powerful programming
language.
It has well-designed syntax.
Named after British comedy show Monty
Python’s Flying Circus at NRI for Maths and
CS inNetherlands.
Introduction to Python:
Itis a general purpose and high-level
language.
Developed by: Guido Van Rossum in 1991.
Derived from many other languages like
ABC, Modula-3 & Unix shell.
Works with all OS.
Features of Python:
Simple & Easy to learn and code.
Expressive- Easy syntax
Free and Open Source- No cost
High- level language- Results in better results.
Portable- Platform independent.
Object oriented- Decomposition.
Features of Python:
Extensible- Code can be written in other
language too.
Embeddable- Adding functions from library
Interpreted- PVM is used.
Extensive Library- Large collection of
functions.
Uses of Python:
Web & Internet Development
Scientific and Numeric Computing
Desktop GUIs
Software Development
Business Application
Limitations of Python:
Code execution that is carried out line and
line.
Python’s memory consumption is high.
Connectivity is not efficient as JDBC &
ODBC.
Different Modes:
Interactive Mode:
This mode is used in Python to get
immediate results of our code.
It is used for learning, testing and
experimenting.
In Python, interactive mode is denoted by
symbol: >>>
DEMONSTRATION
Interactive Mode:
DRAWBACK: