Getting started with Python
Python Introduction
It is widely used general purpose, high level programming language.
Developed by Guido van Rossum in 1991. It is used for: software development,
web development (server-side), system scripting, Mathematics.
Features of Python
1. Easy to use – Due to simple syntax rule
2. Interpreted language – Code execution & interpretation line by line
3. Cross-platform language – It can run on windows, Linux, Macintosh etc.
equally
4. Expressive language – Less code to be written as it itself express the purpose
of the code.
5. Completeness – Support wide range of library
6. Free & Open Source – Can be downloaded freely and source code can be
modified for improvement
Shortcomings of Python
1. Lesser libraries – as compared to other programming languages like
c++,java,. Net
2. Slow language – as it is interpreted language, it executes the program slowly.
3. Weak on Type-binding – It won’t pin point on use of a single variable for
different data type
[Link] easily convertible.
Two working modes
(i) Interactive mode is used when an user wants to run one single line or
one block of code
(ii) Script Mode is used when the user is working with more than one
single code or a block of code. It is used to save the code for future
use
Python shell
The interactive interpreter of Python is termed as Python Shell.
Dynamic typing feature of Python
Dynamic typing means that the type of the variable is determined only during
runtime