Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
14 views

Python Need Scope Applications

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

Python Need Scope Applications

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

PYTHON

Presented by Manpreet Kaur(Python ,AI&ML Developer) Contact : 9306973144


HISTORY OF PYTHON

 Python was developed by “Guido Van Rossum” in the “year 1990” at Stichtin
Mathematics Centrum in the Netherlands as a successor of a language called ABC.

 Name “PYTHON” picked from TV Show Monty Python’s Flying Circus.

https://docs.python.org/3/license.html
WHAT IS PYTHON?

 Python is a clear and powerful object-oriented programing language, comparable to


PEARL, RUBY or JAVA.

 Python is a programming language that combines features of C and Java.

https://www.python.org/
VERSION

Python 0.9.0-February, 1991


Python 1.0-January 1994
Python 2.0-October, 2000
Python 3.0-December, 2008
CURRENT VERSION : Python 3.12.0
Python 3.1-June, 2009
Python 3.2-February, 2011
Python 3.2-September, 2012
Python 3.4-March, 2014
Python 3.5-September, 2015
Python 3.6-December, 2016
Python 3.7-June,2018
FEATURES

 Easy to Learn
 High Level Language
 Interpreted Language
 Platform Independent
 Procedure and Object Oriented
 Huge Library
 Scalable
NEED OF PYTHON PROGRAMMING

 Python has become one of the hottest topics in the field of programming in the past few years and has been
widely used among big tech giants and developers today.

 Python is giving a glorious touch to data mining, machine learning, and many other fields that were not common
earlier. It is commonly known for its vast set of tools, and libraries that make it go smoother than any other
language today.

 Python is the second most widely used language and the simplicity of its syntax has enabled quick adaptability
among non-programmers as well.
NEED OF PYTHON PROGRAMMING

1. More Scope : Did you know? Today Netflix, Google, Facebook, Amazon, and many more big tech giants are using python
for the past few years. The sole reason behind this adaptability is its capability to scale and fit in AI, ML, Data Science, etc. and
this has strengthened their inner system to scale their businesses. This has appropriately set a benchmark in terms of salary
growth and better career opportunities. You may also find that the average salary bracket of a Python software developer is
somewhere around 4.2 LPA to 10 LPA.

2. Easy to Integrate: Python is also called a Glue language due to its adaptability to integrate with other languages. It runs
on multiple platforms like Windows, Linux, and macOS and can work seamlessly for any project whether it could be gaming
or data visualization, python will get it right.

3. Vast Community Support : python offers vast community support for its developers around the globe and users get
quick responses in no time when stuck. As the demand rises, the number of active users is increasing tremendously every
day, and to keep a smooth flow, a strong community was required which python provides. Today giants like Google, Microsoft,
and Amazon are actively contributing to TensorFlow, PyTorch, etc.
NEED OF PYTHON PROGRAMMING
4. Collection of Libraries and Frameworks : Over the period, the more python started gaining
popularity, the more updates and changes have been made and implemented every year. this might
surprise you but the overall count of the python libraries has about 2,80,000+ and it’s increasing every
single day. Besides this, there are certain popular libraries and frameworks which developers use very
often PANDAS,Tenserflow,Keras,Django,Flask,Matplotlib, Seaborn, etc. in different
projects.

5. Quick Learning : Python is being considered one of the most vocab languages like English, of all
time and when it comes to new learners, it helps them by backing up with vast libraries, frameworks,
community support, and whatnot.

6. AI, BigData, and Data Science Friendly : python is an expert in handling a huge collection of
raw data, and to manage that it also has certain libraries like Pyspark, Dask, etc that help data scientists
to process big data. AI has been on-trend for the past few years and with the help of pythonML, we can
easily create human nature likewise properties that can interpret and interact just like us. (Keras
library) is the perfect example of such AI experiments.
PYTHON INTERPRETER: SHELL/REPL
Python is an interpreter language. It means it executes the code line by line. Python provides a Python Shell,
which is used to execute a single Python command and display the result.
It is also known as REPL (Read, Evaluate, Print, Loop), where it reads the command, evaluates the command,
prints the result, and loop it back to read the command again.
To run the Python Shell, open the command prompt or power shell on Windows and terminal window on
mac, write python and press enter. A Python Prompt comprising of three greater-than symbols >>> appears,
as shown below.
RUNNING PYTHON SCRIPTS
APPLICATIONS FOR PYTHON

 Web Application- Django, Pyramid, Flask, Bottle


 Desktop GUI Application – Tkinter
 Console Based Application
 Game and 3D Application
 Mobile Application
 Scientific and Numeric
 Data Science
 Machine Learning – scikit-learn and TensorFlow
 Data Analysis – Matplotlib, Seaborn
 Business Application
PYTHON LANGUAGE

Python is a case sensitive programming language.

Examples :

m is not equal to M
LUCKY is not equal to lucky
Sandeep is not equal to SANDEEP
PYTHON COMPILERS

Python Compiler – A python compiler converts the program source code into byte code.
By default Cpython compiler download with python package.

Type of Python Compilers :


 Cpython
 Jpython/Jython
 PyPy
 RubyPython
 IronPython
 StacklessPython
 Pythonxy
 AnacondaPython
HOW’S PYTHON WORK’S

 Write source code/program


 Compile the program using python compiler
 Compiler converts the python program into byte code
 Computer/Machine can not understand byte code so we convert it into machine code using PVM
 PVM uses an interpreter which understands the byte code and convert it into machine code
 Machine code instructions are then executed by the processor and results are displayed

Binary
Source
Byte Code Code/Machine Computer
Code/Program Compiler using RUN program Code
Python Compiler using PVM OUTPUT
BYTE CODE

Byte Code : Byte Code represents the fixed set of instruction created by Python
developers representing all type of operations like arithmetic operations, comparision
operation, memory related operation etc.

The size of each byte code instructions is 1 byte or 8 bits. We can find byte code
instruction in the .pyc file.
PYTHON VIRTUAL MACHINE(PVM)

 Python Virtual Machine(PVM) is a program which provides programming environment.


The role of PVM is to convert the byte code instructions into machine code so the
computer can execute those machine code instructions and display the output.

 Interpreter converts the byte code into machine code and sends that machine code to
computer processor for execution.

Binary
Source
Byte Code Interpreter Code/Machine Computer
Code/Program CPYTHON Code
PVM
EXECUTING PYTHON PROGRAM

Command Line Window

IDLE

Notepad or Notepad++

PyCharm

Visual Studio Code

Jupyter
PYTHON COMMENTS

Comments can be used to explain Python code.


Comments can be used to make the code more readable.
Comments can be used to prevent execution when testing code.

You might also like