[go: up one dir, main page]

0% found this document useful (0 votes)
23 views16 pages

3 Features of Python

Uploaded by

229x1a3256
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views16 pages

3 Features of Python

Uploaded by

229x1a3256
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

1 Simple

Python is one of the SIMPLE programming, because


of 3 important Tech Factors.
1. Python Programming Provides "Rich Set of APIs".
So that Python Programmer can Re-Use the
pre-defined Libraries /(Modules) API for solving
real time requirements.

• An API is a collection of Modules.


• A Module is a collection of Functions, Variables
and Classes
• Ex: math, cmath, random, calender, re, cx_Oracle,
mysql-connector, threading, gc....etc.
1 Simple
2. Python Programming Provides Inbuilt
"Garbage Collection " Facility. So that It
collects un-used memory space and
improves performance of Python Based
Applications.

3. Python Programming Provides User Friendly


Syntaxes. So that Python Programmer can
develop Error-Free Program in a limited span
of time.
2 Freeware and Open Source
• If any software is available Freely
Downloadable then it is called FreeWare.
Ex: PYTHON and JAVA
• The Python which we download from
www.python.org is called Standard Python
and whose name Is “CPYTHON”.
• Some of the Companies came forward and
customized CPYTHON for their In-House
Requirements and those Open Source
Software of python are called "Python
Distributions".
Some of the Python Distributions
A software bundle, which contains a Python
interpreter and the Python standard library.
1. JPYTHON (or) JYTHON --> Used to Run Java
Based Applications
2. Iron Python --> Used to run C#.net Based
Application
3. Micro Python --> Used to develop Micro
Controller Applications
4. Ruby Python --> Used to run RUBY ON RAIL
based Applications
5. Anaconda Python --> Used to deal with
BIGDATA / Hadoop Based Appls.....etc.
3. Platform Independent
• A language is said to be Platform Independent
if whose applications / Programs runs on
every OS.

• "All the Values in Python Stored in the form


Objects and Objects contains unlimited
amount of data storage". So that run on any
OS.
4 Dynamically Typed
1. Static Typed Programming Languages: Data type
of values must specified by programmer
explicitly. Otherwise we get Errors.
Ex: C,CPP, JAVA, .NET...etc
2. Dynamically Typed Programming Languages:
Data type of the values need not specify by the
programmer and more over data type of the
value is implicitly decided by Python Execution
Environment(PEE).
Ex: Python
In Python Programming, all values are stored in the form
of Objects and to create objects we need classes.
5 Portable

• A Portable Project is one which can run on all


types of Operating Systems with considering
vendors and their Architectures.
• Examples: PYTHON , JAVA

• Example for NON-portable: C,CPP...etc.


6 Interpreted
Compilation Process:
• The Python Compiler Converts .py (Source Code) into
.pyc Code( Byte Code) in the form Line by Line.
• Ex: sum.py --> sum.pyc -- during Compile Time

Execution Phase:
• The PVM reads Line by Line of Byte Code and
converted into Machine Understandable Code(Binary
Code) and it is read by OS & Processer and gives
result.
• Hence in Python Execution Environment, Compilation
Process and Execution is performing Line by Line and
Python is one of the Interpreted Programming.
7 High Level
• Even though we represent the data in the
form of Binary, Octal and Hexa Decimal
Format, at output stage we are getting the
results in high level understandable format.
8 Robust (Strong)
• Python is one of the Robust(Strong), because
of a Programming feature called “Exception
Handling”.
• Runtime errors of a programs are called
Exceptions.
• Exceptions always gives Technical Error
Messages, which are understandable by
Programmers but not by applications users.
• The process of converting Technical Error
Messages into User-Friendly error messages
is called Exception Handling.
9 Extensible and Embedded
• Since Python Programming Provides its services
(Programming Segments / snippets) to other
languages for fulfilling its requirements easily.
• Ex: C Programs can call the coding segments of
PYTHON.

• Since Python programming can also call / utilize


the services of C, Other Languages as part of its
development and hence Python is one of the
Embedded Programming Languages.
• Examples:--Numpy, Scikit, Pandas, Scipy, matplot
lib etc. these developed in Python and uses C
language.
10 Extensive Third Party Library (or) API
support
• With Traditional Python Programming APIs, we may
not able to perform complex operations.
• To do these complex operations, we use Third Party
Libraries and some of the Third Party Libraries are
1. Numpy - For working with arrays. Also has functions
for working in domain of linear algebra, fourier
transform & matrices
2. Pandas - Used for working with data sets
3. Scipy - A scientific computation library
4. Scikit-learn - A free s/w machine learning library for
the Python
5. Matplotlib - A low level graph plotting library
10 Extensive Third Party Library (or) API
support
6. MXnet - Deep learning framework
7. Theano - Multi-dimensional arrays
8. Spark - Perform real-time, large-scale data
processing in a distributed environment
9. Pytorch - For building deep learning models
10. Keras - To implementation of neural networks
easy by google
11. Tensorflow - To create machine learning models
for desktop, mobile, web and cloud
Python Libraries
Who are all using python?

You might also like