Python Programming Refresher Course: CH - Srilakshmi
Python Programming Refresher Course: CH - Srilakshmi
course
Ch.Srilakshmi
What is Python…?
•Python is a general purpose programming language that is
often applied in scripting roles.
•So,Python is programming language as well as scripting
language.
•Python is also called as Interpreted language
Differences between program and scripting
language
• Program
•a program is executed (i.e. the source is first
compiled, and the result of that compilation is
expected)
•A "program" in general, is a sequence of
instructions written so that a computer can
perform certain task
Cont..
Scripting
•a script is interpreted
•A "script" is code written in a scripting
language. A scripting language is nothing but a
type of programming language in which we can
write code to control
•another software application
History
•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
Circus’, this is a famous TV show in Netherlands
•Named after Monty Python
•Open sourced from the beginning
Guido van Rossum
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, and multiple inheritance.
• Indentation
• Indentation is one of the greatest future in
Python. It's free (open source)
• Downloading and installing Python is free and
easy Source code is easily accessible
Cont..
•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.
It's mixable