SlideShare a Scribd company logo
1 of 56
Dinesh Thakur--Python Programming
Guido Van Rossum is known as
the founder of Python
programming
Dinesh Thakur--Python Programming
Python History
• Python was invented by Guido van Rossum in 1991 at
CWI in Netherland. The idea of Python programming
language has taken from the ABC programming
language or we can say that ABC is a predecessor of
Python language.
• There is also a fact behind the choosing name Python.
Guido van Rossum was a fan of the popular BBC
comedy show of that time, "Monty Python's Flying
Circus". So he decided to pick the name Python for his
newly created programming language.
• Python has the vast community across the world and
releases its version within the short period.
Dinesh Thakur--Python Programming
What is Python ?
• Python is a simple, general purpose, high
level, interpreted, object oriented language
which is used to develop desktop applications,
web applications and mobile applications.
• Python is also used in data science, artificial
intelligence and machine learning area.
Dinesh Thakur--Python Programming
Python Features
• Python provides many useful features which make it
popular and valuable from the other programming
languages.
1. Easy to Learn and Use:
• Python is easy to learn as compared to other
programming languages. Its syntax is straightforward
and much the same as the English language. There is
no use of the semicolon or curly-bracket, the
indentation defines the code block. It is the
recommended programming language for beginners.
Dinesh Thakur--Python Programming
2.Expressive Language
Python can perform complex tasks using a few lines of code. A simple example, the hello
world program you simply type print("Hello World"). It will take only one line to execute,
while Java or C takes multiple lines.
3.Interpreted Language
Python is an interpreted language; it means the Python program is executed one line at a
time. The advantage of being interpreted language, it makes debugging easy and portable.
4. Cross-platform Language
Python can run equally on different platforms such as Windows, Linux, UNIX, and
Macintosh, etc. So, we can say that Python is a portable language. It enables
programmers to develop the software for several competing platforms by writing a
program only once.
5. Object-Oriented Language
Python supports object-oriented language and concepts of classes and objects come
into existence. It supports inheritance, polymorphism, and encapsulation, etc. The
object-oriented procedure helps to programmer to write reusable code and develop
applications in less code.
Dinesh Thakur--Python Programming
6. Free and Open Source
Python is freely available for everyone. It is freely available on its official
website www.python.org. It has a large community across the world that is dedicatedly
working towards make new python modules and functions. Anyone can contribute to the
Python community. The open-source means, "Anyone can download its source code
without paying any penny."
7. Large Standard Library
It provides a vast range of libraries for the various fields such as machine learning, web
developer, and also for the scripting. There are various machine learning libraries, such
as Tensor flow, Pandas, Numpy, Keras, and Pytorch, etc. Django, flask, pyramids are the
popular framework for Python web development.
8.GUI Programming Support
Graphical User Interface is used for the developing Desktop application. PyQT5,
Tkinter, Kivy are the libraries which are used for developing the web application.
Dinesh Thakur--Python Programming
How to Install Python (Environment
Set-up)
• Installation on Windows
• Visit the
link https://www.python.org/downloads/ to
download the latest release of Python. In this
process, we will install Python 3.8.6 on
our Windows operating system. When we click on
the above link, it will bring us the following page.
• Step - 1: Select the Python's version to
download.
Dinesh Thakur--Python Programming
Step - 1: Select the Python's version
to download.
Dinesh Thakur--Python Programming
Step - 2: Click on the Install Now
Dinesh Thakur--Python Programming
Step - 3 Installation in Process
Dinesh Thakur--Python Programming
Now, try to run python on the
command prompt.
Dinesh Thakur--Python Programming
Python First Program
Dinesh Thakur--Python Programming
Program-2
Dinesh Thakur--Python Programming
Python Keywords
• Python Keywords are special reserved words
that convey a special meaning to the
compiler/interpreter. Each keyword has a
special meaning and a specific operation.
These keywords can't be used as a variable.
Following is the List of Python Keywords.
Dinesh Thakur--Python Programming
Python Keywords
True False None and as
asset def class continue break
else finally elif del except
global for if from import
raise try or return pass
nonlocal in not is lambda
Dinesh Thakur--Python Programming
Python Identifiers
Python identifiers refer to a name used to identify a
variable, function, module, class, module or other
objects. There are few rules to follow while naming the
Python Variable.
• A variable name must start with either an English letter
or underscore (_).
• A variable name cannot start with the number.
• Special characters are not allowed in the variable
name.
• The variable's name is case sensitive.
Dinesh Thakur--Python Programming
Python Variables
• Variable is a named storage location where we
can store value and perform
manipulation(calculation) on stored value
during execution of a program.
• Example: a = 50
Dinesh Thakur--Python Programming
Variable
a=50
Dinesh Thakur--Python Programming
Variable Program
Dinesh Thakur--Python Programming
Variable Program
Dinesh Thakur--Python Programming
Python Data Types
• Variables can hold values, and every value has
a data-type. Python is a dynamically typed
language; hence we do not need to define the
type of the variable while declaring it. The
interpreter implicitly(directly) binds the value
with its type.
• a=10
Dinesh Thakur--Python Programming
Python Data Types Program
Dinesh Thakur--Python Programming
Python data types
Dinesh Thakur--Python Programming
Number Data Type
Dinesh Thakur--Python Programming
Boolean
• Boolean type provides two built-in values, True
and False. These values are used to determine
the given statement true or false. It denotes by
the class bool. True can be represented by any
non-zero value or 'T' whereas false can be
represented by the 0 or 'F'. Consider the
following example.
• # Python program to check the boolean type
• print(type(True))
• print(type(False))
• print(false)
Dinesh Thakur--Python Programming
Dinesh Thakur--Python Programming
List
Python Lists are similar to arrays in C. However, the list
can contain data of different types. The items stored in
the list are separated with a comma (,) and enclosed
within square brackets [].
Dinesh Thakur--Python Programming
Tuple
A tuple is similar to the list in many ways. Like lists,
tuples also contain the collection of the items of
different data types. The items of the tuple are
separated with a comma (,) and enclosed in
parentheses ().
A tuple is a read-only data structure as we can't modify
the size and value of the items of a tuple.
Dinesh Thakur--Python Programming
Dictionary Data Type
• Dictionary is an unordered set of a key-value
pair of items. It is like an associative array or a
hash table where each key stores a specific
value. Key can hold any primitive data type,
whereas value is an arbitrary Python object.
• The items in the dictionary are separated with
the comma (,) and enclosed in the curly braces
{}.
Dinesh Thakur--Python Programming
Dictionary Data Type Program
Dinesh Thakur--Python Programming
Set Data Type
• Python Set is the unordered collection of the
data type. It is iterable, mutable(can modify
after creation), and has unique elements. In
set, the order of the elements is undefined; it
may return the changed sequence of the
element. The set is created by using a built-in
function set(), or a sequence of elements is
passed in the curly braces and separated by
the comma. It can contain various types of
values.
Dinesh Thakur--Python Programming
SET program
Dinesh Thakur--Python Programming
Operators
• Operator performs operation on operands or
data.
• Arithmetic operator : +,-,/,%,and *
• E.g. 2+2 , 8*2
• Comparison Operator: <,>,=<,>=,!=
• E.g. 7>2 , 2<9
• Assignment Operator: = , =* , =+ ,=-
• 2+2=4
Dinesh Thakur--Python Programming
Operators
• Bitwise Operators : performs operation on
binary digits only. >> ,<<,>>>,<<<
• E.g >> Right Shift 2 digit
• >>11111111-----00111111
Dinesh Thakur--Python Programming
Logical Operators
Dinesh Thakur--Python Programming
Membership Operators
• Python membership operators are used to
check the membership of value inside a
Python data structure. If the value is present
in the data structure, then the resulting value
is true otherwise it returns false.
• IN
• Not IN
Dinesh Thakur--Python Programming
Operators Program
Dinesh Thakur--Python Programming
Multiplications
Dinesh Thakur--Python Programming
Comparison Operator
Dinesh Thakur--Python Programming
Comments
• If we want to write additional information of
program, we use comment.
• # is used for comment
Dinesh Thakur--Python Programming
Comments
Dinesh Thakur--Python Programming
Decision Making Statement
If…..Satement
If…..Else…..Statement
Dinesh Thakur--Python Programming
If…Statement
Dinesh Thakur--Python Programming
If…Statement
Dinesh Thakur--Python Programming
If….Else….Statement
Dinesh Thakur--Python Programming
IF..Else…Statement
Dinesh Thakur--Python Programming
Looping Statement
For…Loop
Do….While…Loop
While…Loop
Dinesh Thakur--Python Programming
for…Loop
Dinesh Thakur--Python Programming
For….Loop
Dinesh Thakur--Python Programming
Multiplication Table
Dinesh Thakur--Python Programming
While…Loop
Dinesh Thakur--Python Programming
While…Loop
Dinesh Thakur--Python Programming
Do…While…Loop
Dinesh Thakur--Python Programming
Python Popular Frameworks and
Libraries
• Python has wide range of libraries and frameworks
widely used in various fields such as machine learning,
artificial intelligence, web applications, etc. We define
some popular frameworks and libraries of Python as
follows.
• Web development (Server-side) - Django Flask,
Pyramid, CherryPy
• GUIs based applications - Tk, PyGTK, PyQt, PyJs, etc.
• Machine Learning - TensorFlow, PyTorch, Scikit-learn,
Matplotlib, Scipy, etc.
• Mathematics - Numpy, Pandas, etc.
Dinesh Thakur--Python Programming
Thanks
Dinesh Thakur--Python Programming

More Related Content

What's hot

What is Python? | Edureka
What is Python? | EdurekaWhat is Python? | Edureka
What is Python? | EdurekaEdureka!
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaEdureka!
 
Overview of python 2019
Overview of python 2019Overview of python 2019
Overview of python 2019Samir Mohanty
 
Python | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python TutorialPython | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python TutorialQA TrainingHub
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to pythonAgung Wahyudi
 
Introduction to Python for Data Science and Machine Learning
Introduction to Python for Data Science and Machine Learning Introduction to Python for Data Science and Machine Learning
Introduction to Python for Data Science and Machine Learning ParrotAI
 
Python Tutorial | Python Tutorial for Beginners | Python Training | Edureka
Python Tutorial | Python Tutorial for Beginners | Python Training | EdurekaPython Tutorial | Python Tutorial for Beginners | Python Training | Edureka
Python Tutorial | Python Tutorial for Beginners | Python Training | EdurekaEdureka!
 
Python presentation by Monu Sharma
Python presentation by Monu SharmaPython presentation by Monu Sharma
Python presentation by Monu SharmaMayank Sharma
 
Python and its Applications
Python and its ApplicationsPython and its Applications
Python and its ApplicationsAbhijeet Singh
 
Python PPT
Python PPTPython PPT
Python PPTEdureka!
 
Python 101: Python for Absolute Beginners (PyTexas 2014)
Python 101: Python for Absolute Beginners (PyTexas 2014)Python 101: Python for Absolute Beginners (PyTexas 2014)
Python 101: Python for Absolute Beginners (PyTexas 2014)Paige Bailey
 
Python, the Language of Science and Engineering for Engineers
Python, the Language of Science and Engineering for EngineersPython, the Language of Science and Engineering for Engineers
Python, the Language of Science and Engineering for EngineersBoey Pak Cheong
 

What's hot (20)

Python
PythonPython
Python
 
What is Python? | Edureka
What is Python? | EdurekaWhat is Python? | Edureka
What is Python? | Edureka
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | Edureka
 
Overview of python 2019
Overview of python 2019Overview of python 2019
Overview of python 2019
 
Python Tutorial Part 1
Python Tutorial Part 1Python Tutorial Part 1
Python Tutorial Part 1
 
Python | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python TutorialPython | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python Tutorial
 
Python introduction
Python introductionPython introduction
Python introduction
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Introduction to Python for Data Science and Machine Learning
Introduction to Python for Data Science and Machine Learning Introduction to Python for Data Science and Machine Learning
Introduction to Python for Data Science and Machine Learning
 
Python Basics.pdf
Python Basics.pdfPython Basics.pdf
Python Basics.pdf
 
Python Basics
Python BasicsPython Basics
Python Basics
 
Python ppt
Python pptPython ppt
Python ppt
 
Python Tutorial | Python Tutorial for Beginners | Python Training | Edureka
Python Tutorial | Python Tutorial for Beginners | Python Training | EdurekaPython Tutorial | Python Tutorial for Beginners | Python Training | Edureka
Python Tutorial | Python Tutorial for Beginners | Python Training | Edureka
 
Python presentation by Monu Sharma
Python presentation by Monu SharmaPython presentation by Monu Sharma
Python presentation by Monu Sharma
 
Python and its Applications
Python and its ApplicationsPython and its Applications
Python and its Applications
 
Python basics
Python basicsPython basics
Python basics
 
Python PPT
Python PPTPython PPT
Python PPT
 
Python 101: Python for Absolute Beginners (PyTexas 2014)
Python 101: Python for Absolute Beginners (PyTexas 2014)Python 101: Python for Absolute Beginners (PyTexas 2014)
Python 101: Python for Absolute Beginners (PyTexas 2014)
 
Python, the Language of Science and Engineering for Engineers
Python, the Language of Science and Engineering for EngineersPython, the Language of Science and Engineering for Engineers
Python, the Language of Science and Engineering for Engineers
 
Loops in Python
Loops in PythonLoops in Python
Loops in Python
 

Similar to Guido Van Rossum Python Founder

Python_Introduction_Good_PPT.pptx
Python_Introduction_Good_PPT.pptxPython_Introduction_Good_PPT.pptx
Python_Introduction_Good_PPT.pptxlemonchoos
 
introduction of python in data science
introduction of python in data scienceintroduction of python in data science
introduction of python in data sciencebhavesh lande
 
4_Introduction to Python Programming.pptx
4_Introduction to Python Programming.pptx4_Introduction to Python Programming.pptx
4_Introduction to Python Programming.pptxGnanesh12
 
Fundamentals of python
Fundamentals of pythonFundamentals of python
Fundamentals of pythonBijuAugustian
 
Python Tutorial | Python Programming Language
Python Tutorial | Python Programming LanguagePython Tutorial | Python Programming Language
Python Tutorial | Python Programming Languageanaveenkumar4
 
Programming with Python: Week 1
Programming with Python: Week 1Programming with Python: Week 1
Programming with Python: Week 1Ahmet Bulut
 
Python programming language introduction unit
Python programming language introduction unitPython programming language introduction unit
Python programming language introduction unitmichaelaaron25322
 
Introduction to Python – Learn Python Programming.pptx
Introduction to Python – Learn Python Programming.pptxIntroduction to Python – Learn Python Programming.pptx
Introduction to Python – Learn Python Programming.pptxHassanShah396906
 
python presntation 2.pptx
python presntation 2.pptxpython presntation 2.pptx
python presntation 2.pptxArpittripathi45
 
Python - An Introduction
Python - An IntroductionPython - An Introduction
Python - An IntroductionSwarit Wadhe
 
Introduction to python for Beginners
Introduction to python for Beginners Introduction to python for Beginners
Introduction to python for Beginners Sujith Kumar
 

Similar to Guido Van Rossum Python Founder (20)

Python_Introduction_Good_PPT.pptx
Python_Introduction_Good_PPT.pptxPython_Introduction_Good_PPT.pptx
Python_Introduction_Good_PPT.pptx
 
Python basics
Python basicsPython basics
Python basics
 
introduction of python in data science
introduction of python in data scienceintroduction of python in data science
introduction of python in data science
 
Python Training in Chandigarh
Python Training in ChandigarhPython Training in Chandigarh
Python Training in Chandigarh
 
4_Introduction to Python Programming.pptx
4_Introduction to Python Programming.pptx4_Introduction to Python Programming.pptx
4_Introduction to Python Programming.pptx
 
Fundamentals of python
Fundamentals of pythonFundamentals of python
Fundamentals of python
 
Python Programming Draft PPT.pptx
Python Programming Draft PPT.pptxPython Programming Draft PPT.pptx
Python Programming Draft PPT.pptx
 
Python Tutorial | Python Programming Language
Python Tutorial | Python Programming LanguagePython Tutorial | Python Programming Language
Python Tutorial | Python Programming Language
 
Python Programming Part 1.pdf
Python Programming Part 1.pdfPython Programming Part 1.pdf
Python Programming Part 1.pdf
 
Python Programming Part 1.pdf
Python Programming Part 1.pdfPython Programming Part 1.pdf
Python Programming Part 1.pdf
 
Python Programming Part 1.pdf
Python Programming Part 1.pdfPython Programming Part 1.pdf
Python Programming Part 1.pdf
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
 
Programming with Python: Week 1
Programming with Python: Week 1Programming with Python: Week 1
Programming with Python: Week 1
 
Introduction python
Introduction pythonIntroduction python
Introduction python
 
Python programming language introduction unit
Python programming language introduction unitPython programming language introduction unit
Python programming language introduction unit
 
Introduction to Python – Learn Python Programming.pptx
Introduction to Python – Learn Python Programming.pptxIntroduction to Python – Learn Python Programming.pptx
Introduction to Python – Learn Python Programming.pptx
 
python presntation 2.pptx
python presntation 2.pptxpython presntation 2.pptx
python presntation 2.pptx
 
Python - An Introduction
Python - An IntroductionPython - An Introduction
Python - An Introduction
 
Python intro
Python introPython intro
Python intro
 
Introduction to python for Beginners
Introduction to python for Beginners Introduction to python for Beginners
Introduction to python for Beginners
 

Recently uploaded

“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 

Recently uploaded (20)

“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 

Guido Van Rossum Python Founder

  • 2. Guido Van Rossum is known as the founder of Python programming Dinesh Thakur--Python Programming
  • 3. Python History • Python was invented by Guido van Rossum in 1991 at CWI in Netherland. The idea of Python programming language has taken from the ABC programming language or we can say that ABC is a predecessor of Python language. • There is also a fact behind the choosing name Python. Guido van Rossum was a fan of the popular BBC comedy show of that time, "Monty Python's Flying Circus". So he decided to pick the name Python for his newly created programming language. • Python has the vast community across the world and releases its version within the short period. Dinesh Thakur--Python Programming
  • 4. What is Python ? • Python is a simple, general purpose, high level, interpreted, object oriented language which is used to develop desktop applications, web applications and mobile applications. • Python is also used in data science, artificial intelligence and machine learning area. Dinesh Thakur--Python Programming
  • 5. Python Features • Python provides many useful features which make it popular and valuable from the other programming languages. 1. Easy to Learn and Use: • Python is easy to learn as compared to other programming languages. Its syntax is straightforward and much the same as the English language. There is no use of the semicolon or curly-bracket, the indentation defines the code block. It is the recommended programming language for beginners. Dinesh Thakur--Python Programming
  • 6. 2.Expressive Language Python can perform complex tasks using a few lines of code. A simple example, the hello world program you simply type print("Hello World"). It will take only one line to execute, while Java or C takes multiple lines. 3.Interpreted Language Python is an interpreted language; it means the Python program is executed one line at a time. The advantage of being interpreted language, it makes debugging easy and portable. 4. Cross-platform Language Python can run equally on different platforms such as Windows, Linux, UNIX, and Macintosh, etc. So, we can say that Python is a portable language. It enables programmers to develop the software for several competing platforms by writing a program only once. 5. Object-Oriented Language Python supports object-oriented language and concepts of classes and objects come into existence. It supports inheritance, polymorphism, and encapsulation, etc. The object-oriented procedure helps to programmer to write reusable code and develop applications in less code. Dinesh Thakur--Python Programming
  • 7. 6. Free and Open Source Python is freely available for everyone. It is freely available on its official website www.python.org. It has a large community across the world that is dedicatedly working towards make new python modules and functions. Anyone can contribute to the Python community. The open-source means, "Anyone can download its source code without paying any penny." 7. Large Standard Library It provides a vast range of libraries for the various fields such as machine learning, web developer, and also for the scripting. There are various machine learning libraries, such as Tensor flow, Pandas, Numpy, Keras, and Pytorch, etc. Django, flask, pyramids are the popular framework for Python web development. 8.GUI Programming Support Graphical User Interface is used for the developing Desktop application. PyQT5, Tkinter, Kivy are the libraries which are used for developing the web application. Dinesh Thakur--Python Programming
  • 8. How to Install Python (Environment Set-up) • Installation on Windows • Visit the link https://www.python.org/downloads/ to download the latest release of Python. In this process, we will install Python 3.8.6 on our Windows operating system. When we click on the above link, it will bring us the following page. • Step - 1: Select the Python's version to download. Dinesh Thakur--Python Programming
  • 9. Step - 1: Select the Python's version to download. Dinesh Thakur--Python Programming
  • 10. Step - 2: Click on the Install Now Dinesh Thakur--Python Programming
  • 11. Step - 3 Installation in Process Dinesh Thakur--Python Programming
  • 12. Now, try to run python on the command prompt. Dinesh Thakur--Python Programming
  • 13. Python First Program Dinesh Thakur--Python Programming
  • 15. Python Keywords • Python Keywords are special reserved words that convey a special meaning to the compiler/interpreter. Each keyword has a special meaning and a specific operation. These keywords can't be used as a variable. Following is the List of Python Keywords. Dinesh Thakur--Python Programming
  • 16. Python Keywords True False None and as asset def class continue break else finally elif del except global for if from import raise try or return pass nonlocal in not is lambda Dinesh Thakur--Python Programming
  • 17. Python Identifiers Python identifiers refer to a name used to identify a variable, function, module, class, module or other objects. There are few rules to follow while naming the Python Variable. • A variable name must start with either an English letter or underscore (_). • A variable name cannot start with the number. • Special characters are not allowed in the variable name. • The variable's name is case sensitive. Dinesh Thakur--Python Programming
  • 18. Python Variables • Variable is a named storage location where we can store value and perform manipulation(calculation) on stored value during execution of a program. • Example: a = 50 Dinesh Thakur--Python Programming
  • 22. Python Data Types • Variables can hold values, and every value has a data-type. Python is a dynamically typed language; hence we do not need to define the type of the variable while declaring it. The interpreter implicitly(directly) binds the value with its type. • a=10 Dinesh Thakur--Python Programming
  • 23. Python Data Types Program Dinesh Thakur--Python Programming
  • 24. Python data types Dinesh Thakur--Python Programming
  • 25. Number Data Type Dinesh Thakur--Python Programming
  • 26. Boolean • Boolean type provides two built-in values, True and False. These values are used to determine the given statement true or false. It denotes by the class bool. True can be represented by any non-zero value or 'T' whereas false can be represented by the 0 or 'F'. Consider the following example. • # Python program to check the boolean type • print(type(True)) • print(type(False)) • print(false) Dinesh Thakur--Python Programming
  • 28. List Python Lists are similar to arrays in C. However, the list can contain data of different types. The items stored in the list are separated with a comma (,) and enclosed within square brackets []. Dinesh Thakur--Python Programming
  • 29. Tuple A tuple is similar to the list in many ways. Like lists, tuples also contain the collection of the items of different data types. The items of the tuple are separated with a comma (,) and enclosed in parentheses (). A tuple is a read-only data structure as we can't modify the size and value of the items of a tuple. Dinesh Thakur--Python Programming
  • 30. Dictionary Data Type • Dictionary is an unordered set of a key-value pair of items. It is like an associative array or a hash table where each key stores a specific value. Key can hold any primitive data type, whereas value is an arbitrary Python object. • The items in the dictionary are separated with the comma (,) and enclosed in the curly braces {}. Dinesh Thakur--Python Programming
  • 31. Dictionary Data Type Program Dinesh Thakur--Python Programming
  • 32. Set Data Type • Python Set is the unordered collection of the data type. It is iterable, mutable(can modify after creation), and has unique elements. In set, the order of the elements is undefined; it may return the changed sequence of the element. The set is created by using a built-in function set(), or a sequence of elements is passed in the curly braces and separated by the comma. It can contain various types of values. Dinesh Thakur--Python Programming
  • 34. Operators • Operator performs operation on operands or data. • Arithmetic operator : +,-,/,%,and * • E.g. 2+2 , 8*2 • Comparison Operator: <,>,=<,>=,!= • E.g. 7>2 , 2<9 • Assignment Operator: = , =* , =+ ,=- • 2+2=4 Dinesh Thakur--Python Programming
  • 35. Operators • Bitwise Operators : performs operation on binary digits only. >> ,<<,>>>,<<< • E.g >> Right Shift 2 digit • >>11111111-----00111111 Dinesh Thakur--Python Programming
  • 37. Membership Operators • Python membership operators are used to check the membership of value inside a Python data structure. If the value is present in the data structure, then the resulting value is true otherwise it returns false. • IN • Not IN Dinesh Thakur--Python Programming
  • 41. Comments • If we want to write additional information of program, we use comment. • # is used for comment Dinesh Thakur--Python Programming
  • 55. Python Popular Frameworks and Libraries • Python has wide range of libraries and frameworks widely used in various fields such as machine learning, artificial intelligence, web applications, etc. We define some popular frameworks and libraries of Python as follows. • Web development (Server-side) - Django Flask, Pyramid, CherryPy • GUIs based applications - Tk, PyGTK, PyQt, PyJs, etc. • Machine Learning - TensorFlow, PyTorch, Scikit-learn, Matplotlib, Scipy, etc. • Mathematics - Numpy, Pandas, etc. Dinesh Thakur--Python Programming