SlideShare ist ein Scribd-Unternehmen logo
1 von 48
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Agenda
 Scripting languages
 Python Overview
 Python Installation
 Python Fundamentals
 Python Job Trends
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Scripting Languages
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Scripting Languages
A scripting language supports scripts or programs written for a special run-time environment that automate the execution
of tasks
Figure: Scripting Languages
 They are an alternative to programs executed one-by-one by a
human operator
 They are interpreted rather than being compiled
Python is the most popular Scripting Language in the industry
Program 1 Program 2 Program 3
Program 1 Program 2 Program 3
Script Script
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Python Overview
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
 Python is a high-level dynamic programming language
 Python supports multiple programming paradigms including object-
oriented, imperative, functional programming and procedural styles
 It is easy to learn and provides dynamic typing
 Used by vast multitude of companies around the globe
M O Z I L L A
Python Overview
Figure: Companies using Python
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Simplicity Of Python
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Simplicity Of Python
Figure: Python IDLE IDE
➢ Highly readable language
➢ Clean visual layout
➢ Less syntactic exceptions
➢ Superior string manipulation
➢ Elegant and dynamic typing
➢ Interpreted nature
➢ Ideal for scripting and rapid application
➢ Fit for many platforms
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Installation
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Installation - Python
Download Python 3.6.0 from
www.python.org/downloads
and install python-3.6.0.exe on
your Windows system
1
2
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Installation – PyCharm IDE
Download PyCharm from
jetbrains.com/pycharm/download
and install it on your system
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Python Fundamentals
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Python Fundamentals
The following are the five fundamentals required to master Python
Datatypes
Flow
Control
Functions
File
Handling
Object &
Class Datatypes
Numbers
Strings
Lists
Tuples
Dictionaries
Flow Control
If Else
For
While
Continue
Functions
Definition
Function Call
Docstring
Return
File Handling
Reading
Writing
Editing
Object & Class
Variables
Functions
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Datatypes
Numbers
Strings
Lists
Tuples
Dictionaries
Flow Control
If Else
For
While
Continue
Functions
Definition
Function Call
Docstring
Return
File Handling
Reading
Writing
Editing
Object & Class
Variables
Functions
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Operations
Attributes
OOP Datatype
Features
You do not need to
declare variables before
using them, or declare
their type
The type also determines
the object’s attributes and
items (if any) and whether
the object can be altered
An object’s type determines
what operations the object
supports, or, in other words,
what operations you can
perform on the data value
Python is completely
object oriented, and
not "statically typed"
Datatypes
All data values in Python are represented by objects and each object or value has a datatype
No
Declaration
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
a = 5
b = 7.3
c = 2 + 3j
a = [ 1, 2.2, “Python”] t = (2, “Tuple”, “95”)
s = “This is a string” b = ‘AnBnC’
week = {‘Mon’, ‘Tue’,
‘Wed’, ‘Thu’, ‘Fri’, ‘Sat’,
‘Sun’}
d = {‘value’:5, ‘key’:125}
if (number % 2) = 0:
even = True
else:
even = False
Native Datatypes
Boolean
True / False
Dictionaries
Unordered bags of
key-value pairs
Sets
Unordered bags
of values
Tuples
Ordered immutable
sequences of values
Lists
Ordered sequences of values
Numbers
Integers, Floats, Fractions and
Complex Numbers
Strings
Sequences of Unicode
Characters
Bytes & ByteArray
Contain Single Bytes
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Flow Control
If Else
For
While
Continue
Datatypes
Numbers
Strings
Lists
Tuples
Dictionaries
Functions
Definition
Function Call
Docstring
Return
File Handling
Reading
Writing
Editing
Object & Class
Variables
Functions
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Flow Control
 A program’s Flow Control is the order in which the program’s code executes
 To mimic the real world closer then you need to transform real world situations into your program
 For this you need to control the execution of your program statements using Flow Controls
Check
Turn
Start Task 1
Task 2 Task 3
Task 4
Figure: Controlled Flow In Python
Types of Flow Control if passcontinuefor breakwhile
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
if Statement
The Python compound statement ’if’ lets you
conditionally execute blocks of statements
Figure: Flowchart of if Statement
Body of if
Statement
just below if
Test
expression
True
False
if
for
while
break
continue
pass
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
if Statement
If
password
correct
if
for
while
break
continue
pass
YesNo
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
for Statement
The for statement in Python supports
repeated execution of a statement or block
of statements that is controlled by an
iterable expression
Executing Loop Body
Update Expression
Condition
Testing
True
False
Figure: Flowchart of for Statement
Exit For Loop
Start
Expression Initialization
if
while
break
continue
pass
for
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
for Statement
if
while
break
continue
pass
for
for friendlist[i] !=
NULL
Generate HTML for friendList[i]
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
while Statement
The while statement in Python supports repeated
execution of a statement or block of statements
that is controlled by a conditional expression
Body Of
While Loop
Test
Expression
True
False
Figure: Flowchart of while Statement
Statement
Below While
if
for
break
continue
pass
while
Difference between while and for loop
• For loop is used when we know the number of
iterations beforehand.
• While is used we know the range of values but
don’t know the exact number of iterations
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
while Statement
if
for
break
continue
pass
while
while (end
of page)
Load 10 more stories into Newsfeed
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
break Statement
The break statement is allowed only inside a
loop body. When break executes, the loop
terminates.
If a loop is nested inside other loops, break
terminates only the innermost nested loop.
Test Condition
Within Loop
True
Figure: Flowchart of break Statement
break
False
if
for
while
continue
pass
break
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
break Statement
if
for
while
continue
pass
break
for (Time =
Start Of
Alarm)
If Incoming
Call Occurs
till (Time =
End Of
Alarm)
break Alarm
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
continue Statement
The continue statement is allowed
only inside a loop body.
When continue executes, the current
iteration of the loop body
terminates, and execution continues
with the next iteration of the loop.
Test Condition
Within Loop
True
Figure: Flowchart of continue Statement
continue
False
Remaining
Part Of Loop
Normal Return
Of Loop
if
for
while
break
pass
continue
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
continue Statement
if
for
while
break
pass
continue
Start Of
Incoming
Call
If Alarm
Schedule
Time
End Of
Incoming
Call
Continue – Alarm To Snooze
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
pass Statement
The pass statement, which performs no
action, can be used as a placeholder
when a statement is syntactically required
but you have nothing specific to do.
Figure: Flowchart of pass Statement
Test Condition
Within Loop
True
Process 1
False
Normal Return
Of Loop
Else If
Condition
pass
Else
Condition
True
False
False
Process
Default
True
if
for
while
break
continue
pass
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Functions
Definition
Function Call
Docstring
Return
Flow Control
If Else
For
While
Continue
Datatypes
Numbers
Strings
Lists
Tuples
Dictionaries
File Handling
Reading
Writing
Editing
Object & Class
Variables
Functions
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Functions
 Functions in Python is a group of related statements that
performs a specific task
 Functions make our program more organized and help in
code reusability
Figure: Understanding Python functions
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Uses of Functions
Figure: Reversing a string
Figure: Function to reverse a string
 Functions help in code
reusability
 Functions provide
organization to the code
 Functions provide
abstraction
 Functions help in
extensibility
Uses of Functions
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
File Handling
Reading
Writing
Editing
Flow Control
If Else
For
While
Continue
Functions
Definition
Function Call
Docstring
Return
Datatypes
Numbers
Strings
Lists
Tuples
Dictionaries
Object & Class
Variables
Functions
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
File Handling
 File Handling refers to those operations that are used to read or write a file
 To perform file handling, we need to perform these steps:
1. Open File
2. Read / Write File
3. Close File
Open File
Write File
Read File
Close File
Figure: A file operation in Python takes place in the following order
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
File Handling – Opening A File
Opening A File
▪ Python has a built-in function open() to open a file
▪ This function returns a file object, also called a handle, as it is used to read or modify the file accordingly
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
File Handling – Writing To A File
Writing To A File
▪ In order to write into a file we need to open it in write 'w', append 'a' or exclusive
creation 'x' mode.
▪ We need to be careful with the 'w' mode as it will overwrite into the file if it already
exists. All previous data are erased.
▪ Writing a string or sequence of bytes (for binary files) is done using write() method.
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
File Handling – Reading From A File
Reading From A File
▪ To read the content of a file, we must open the file in reading mode.
▪ We can use the read(size) method to read in size number of data. If size parameter is
not specified, it reads and returns up to the end of the file
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
File Handling – Closing A File
Closing A File
▪ When we are done with operations to the file, we need to properly close it.
▪ Closing a file will free up the resources that were tied with the file and is
done using the close() method.
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Object & Class
Variables
Functions
Flow Control
If Else
For
While
Continue
Functions
Definition
Function Call
Docstring
Return
File Handling
Reading
Writing
Editing
Datatypes
Numbers
Strings
Lists
Tuples
Dictionaries
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Object & Class
➢ Python is an object oriented programming language.
➢ Object is simply a collection of data (variables) and methods
(functions) that act on those data.
➢ Class is a blueprint for the object.
Figure: Blueprint | Class Figure: Houses | Objects
A class is like a house’s blueprint. Objects are houses created from a blueprint.
Many houses can be created from a same blueprint.
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Defining Class & Creating Object
We define a class using the keyword class
The first string is called docstring and has a brief description about the class.
A class object can be used to create new object instances (instantiation) of that class.
The procedure to create an object is similar to a function call.
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Python Job Trends
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Python Job Trends
 The following is the Job Trend of
Python across the world
 Python has gradually acquired a
sizable share in the industry and is
the market leader from 2014
Source: www.indeed.com
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Python Success Story
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Python Success Story
“Python has been an important part of Google since the beginning,
and remains so as the system grows and evolves. Today dozens of
Google engineers use Python, and we're looking for more people with
skills in this language“
Source: Peter Norvig, Director, Google
M O Z I L L A
“When a user decides to share out an Instagram photo to Twitter or
Facebook, we push that task into Gearman, a task queue system
where the whole of Instagram is written in Python”
Source: www.engineering.instagram.com
“Mozilla is moving 2 of its largest sites (addons.mozilla.org and
support.mozilla.com) from PHP to Python”
Source: www.micropipes.com
“Facebook’s Tornado is a relatively simple, non-blocking Web server
framework written in Python, designed to handle thousands of
simultaneous connections, making it ideal for real-time Web services”
Source: www.developers.facebook.com
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Summary
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Summary
Scripting Languages
Job TrendsPython Fundamentals
Python Overview
Success Stories
Installation
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Thank You …
Questions/Queries/Feedback

Weitere ähnliche Inhalte

Was ist angesagt?

Introduction to the basics of Python programming (part 1)
Introduction to the basics of Python programming (part 1)Introduction to the basics of Python programming (part 1)
Introduction to the basics of Python programming (part 1)Pedro Rodrigues
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to pythonAgung Wahyudi
 
What is Python? | Edureka
What is Python? | EdurekaWhat is Python? | Edureka
What is Python? | EdurekaEdureka!
 
Learn Python Programming | Python Programming - Step by Step | Python for Beg...
Learn Python Programming | Python Programming - Step by Step | Python for Beg...Learn Python Programming | Python Programming - Step by Step | Python for Beg...
Learn Python Programming | Python Programming - Step by Step | Python for Beg...Edureka!
 
Python Programming ppt
Python Programming pptPython Programming ppt
Python Programming pptismailmrribi
 
Introduction to-python
Introduction to-pythonIntroduction to-python
Introduction to-pythonAakashdata
 
Python 3 Programming Language
Python 3 Programming LanguagePython 3 Programming Language
Python 3 Programming LanguageTahani Al-Manie
 
Python Class | Python Programming | Python Tutorial | Edureka
Python Class | Python Programming | Python Tutorial | EdurekaPython Class | Python Programming | Python Tutorial | Edureka
Python Class | Python Programming | Python Tutorial | EdurekaEdureka!
 
Python Projects For Beginners | Python Projects Examples | Python Tutorial | ...
Python Projects For Beginners | Python Projects Examples | Python Tutorial | ...Python Projects For Beginners | Python Projects Examples | Python Tutorial | ...
Python Projects For Beginners | Python Projects Examples | Python Tutorial | ...Edureka!
 
Overview of python 2019
Overview of python 2019Overview of python 2019
Overview of python 2019Samir Mohanty
 

Was ist angesagt? (20)

Introduction to the basics of Python programming (part 1)
Introduction to the basics of Python programming (part 1)Introduction to the basics of Python programming (part 1)
Introduction to the basics of Python programming (part 1)
 
Python Basics
Python BasicsPython Basics
Python Basics
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
What is Python? | Edureka
What is Python? | EdurekaWhat is Python? | Edureka
What is Python? | Edureka
 
Python
PythonPython
Python
 
Learn Python Programming | Python Programming - Step by Step | Python for Beg...
Learn Python Programming | Python Programming - Step by Step | Python for Beg...Learn Python Programming | Python Programming - Step by Step | Python for Beg...
Learn Python Programming | Python Programming - Step by Step | Python for Beg...
 
Python basic
Python basicPython basic
Python basic
 
Python final ppt
Python final pptPython final ppt
Python final ppt
 
Python Programming ppt
Python Programming pptPython Programming ppt
Python Programming ppt
 
Python - the basics
Python - the basicsPython - the basics
Python - the basics
 
Introduction to-python
Introduction to-pythonIntroduction to-python
Introduction to-python
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Python programming
Python  programmingPython  programming
Python programming
 
Python 3 Programming Language
Python 3 Programming LanguagePython 3 Programming Language
Python 3 Programming Language
 
Python Tutorial Part 2
Python Tutorial Part 2Python Tutorial Part 2
Python Tutorial Part 2
 
Python ppt
Python pptPython ppt
Python ppt
 
Python
PythonPython
Python
 
Python Class | Python Programming | Python Tutorial | Edureka
Python Class | Python Programming | Python Tutorial | EdurekaPython Class | Python Programming | Python Tutorial | Edureka
Python Class | Python Programming | Python Tutorial | Edureka
 
Python Projects For Beginners | Python Projects Examples | Python Tutorial | ...
Python Projects For Beginners | Python Projects Examples | Python Tutorial | ...Python Projects For Beginners | Python Projects Examples | Python Tutorial | ...
Python Projects For Beginners | Python Projects Examples | Python Tutorial | ...
 
Overview of python 2019
Overview of python 2019Overview of python 2019
Overview of python 2019
 

Andere mochten auch

Srinivasa ramanujan
Srinivasa ramanujanSrinivasa ramanujan
Srinivasa ramanujanCharan Kumar
 
Blake Lapthorn Construction green breakfast - 5th Studio presentation - 20 Ma...
Blake Lapthorn Construction green breakfast - 5th Studio presentation - 20 Ma...Blake Lapthorn Construction green breakfast - 5th Studio presentation - 20 Ma...
Blake Lapthorn Construction green breakfast - 5th Studio presentation - 20 Ma...Blake Morgan
 
PPT ON Srinivasa ramanujan
PPT ON Srinivasa ramanujanPPT ON Srinivasa ramanujan
PPT ON Srinivasa ramanujanDEV YADAV
 
Charless babbage
Charless babbageCharless babbage
Charless babbagesaiabhishek
 
Brochure congreso andino
Brochure congreso andinoBrochure congreso andino
Brochure congreso andinoelcontact.com
 
Life of ramanujan
Life of ramanujanLife of ramanujan
Life of ramanujancaddis2
 
Basics of c++ Programming Language
Basics of c++ Programming LanguageBasics of c++ Programming Language
Basics of c++ Programming LanguageAhmad Idrees
 

Andere mochten auch (8)

Srinivasa ramanujan
Srinivasa ramanujanSrinivasa ramanujan
Srinivasa ramanujan
 
Cemtobent detail int.
Cemtobent detail int.Cemtobent detail int.
Cemtobent detail int.
 
Blake Lapthorn Construction green breakfast - 5th Studio presentation - 20 Ma...
Blake Lapthorn Construction green breakfast - 5th Studio presentation - 20 Ma...Blake Lapthorn Construction green breakfast - 5th Studio presentation - 20 Ma...
Blake Lapthorn Construction green breakfast - 5th Studio presentation - 20 Ma...
 
PPT ON Srinivasa ramanujan
PPT ON Srinivasa ramanujanPPT ON Srinivasa ramanujan
PPT ON Srinivasa ramanujan
 
Charless babbage
Charless babbageCharless babbage
Charless babbage
 
Brochure congreso andino
Brochure congreso andinoBrochure congreso andino
Brochure congreso andino
 
Life of ramanujan
Life of ramanujanLife of ramanujan
Life of ramanujan
 
Basics of c++ Programming Language
Basics of c++ Programming LanguageBasics of c++ Programming Language
Basics of c++ Programming Language
 

Ähnlich wie Python Programming Language | Python Classes | Python Tutorial | Python Training | Edureka

Python Programming | Python Programming For Beginners | Python Tutorial | Edu...
Python Programming | Python Programming For Beginners | Python Tutorial | Edu...Python Programming | Python Programming For Beginners | Python Tutorial | Edu...
Python Programming | Python Programming For Beginners | Python Tutorial | Edu...Edureka!
 
20120314 changa-python-workshop
20120314 changa-python-workshop20120314 changa-python-workshop
20120314 changa-python-workshopamptiny
 
PPT_203105211_3.pptx
PPT_203105211_3.pptxPPT_203105211_3.pptx
PPT_203105211_3.pptxSaurabhNage1
 
Python Interview Questions And Answers 2019 | Edureka
Python Interview Questions And Answers 2019 | EdurekaPython Interview Questions And Answers 2019 | Edureka
Python Interview Questions And Answers 2019 | EdurekaEdureka!
 
Getting started with Python
Getting started with PythonGetting started with Python
Getting started with PythonGaurav Gahlot
 
Python Loops Tutorial | Python For Loop | While Loop Python | Python Training...
Python Loops Tutorial | Python For Loop | While Loop Python | Python Training...Python Loops Tutorial | Python For Loop | While Loop Python | Python Training...
Python Loops Tutorial | Python For Loop | While Loop Python | Python Training...Edureka!
 
Python Developer Certification
Python Developer CertificationPython Developer Certification
Python Developer CertificationVskills
 
Basic of Python- Hands on Session
Basic of Python- Hands on SessionBasic of Python- Hands on Session
Basic of Python- Hands on SessionDharmesh Tank
 
Reinforcement Learning Tutorial | Edureka
Reinforcement Learning Tutorial | EdurekaReinforcement Learning Tutorial | Edureka
Reinforcement Learning Tutorial | EdurekaEdureka!
 
Python course task 10 guruprasanth.s
Python course task 10 guruprasanth.sPython course task 10 guruprasanth.s
Python course task 10 guruprasanth.sGURUPRASANTH33
 
010 CONDITION USING IF-converted.pptx
010 CONDITION USING IF-converted.pptx010 CONDITION USING IF-converted.pptx
010 CONDITION USING IF-converted.pptxSSPTRGCELL
 
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
 
Types of Statements in Python Programming Language
Types of Statements in Python Programming LanguageTypes of Statements in Python Programming Language
Types of Statements in Python Programming LanguageExplore Skilled
 
Python_Haegl.powerpoint presentation. tx
Python_Haegl.powerpoint presentation. txPython_Haegl.powerpoint presentation. tx
Python_Haegl.powerpoint presentation. txvishwanathgoudapatil1
 
Python Tutorial For Beginners | Python Crash Course - Python Programming Lang...
Python Tutorial For Beginners | Python Crash Course - Python Programming Lang...Python Tutorial For Beginners | Python Crash Course - Python Programming Lang...
Python Tutorial For Beginners | Python Crash Course - Python Programming Lang...Edureka!
 

Ähnlich wie Python Programming Language | Python Classes | Python Tutorial | Python Training | Edureka (20)

Python Programming | Python Programming For Beginners | Python Tutorial | Edu...
Python Programming | Python Programming For Beginners | Python Tutorial | Edu...Python Programming | Python Programming For Beginners | Python Tutorial | Edu...
Python Programming | Python Programming For Beginners | Python Tutorial | Edu...
 
Python Tutorial for Beginner
Python Tutorial for BeginnerPython Tutorial for Beginner
Python Tutorial for Beginner
 
INTERNSHIP REPORT.docx
 INTERNSHIP REPORT.docx INTERNSHIP REPORT.docx
INTERNSHIP REPORT.docx
 
Python Workshop
Python WorkshopPython Workshop
Python Workshop
 
20120314 changa-python-workshop
20120314 changa-python-workshop20120314 changa-python-workshop
20120314 changa-python-workshop
 
PPT_203105211_3.pptx
PPT_203105211_3.pptxPPT_203105211_3.pptx
PPT_203105211_3.pptx
 
Python Interview Questions And Answers 2019 | Edureka
Python Interview Questions And Answers 2019 | EdurekaPython Interview Questions And Answers 2019 | Edureka
Python Interview Questions And Answers 2019 | Edureka
 
Getting started with Python
Getting started with PythonGetting started with Python
Getting started with Python
 
Python Loops Tutorial | Python For Loop | While Loop Python | Python Training...
Python Loops Tutorial | Python For Loop | While Loop Python | Python Training...Python Loops Tutorial | Python For Loop | While Loop Python | Python Training...
Python Loops Tutorial | Python For Loop | While Loop Python | Python Training...
 
Python session3
Python session3Python session3
Python session3
 
Python Developer Certification
Python Developer CertificationPython Developer Certification
Python Developer Certification
 
Basic of Python- Hands on Session
Basic of Python- Hands on SessionBasic of Python- Hands on Session
Basic of Python- Hands on Session
 
Reinforcement Learning Tutorial | Edureka
Reinforcement Learning Tutorial | EdurekaReinforcement Learning Tutorial | Edureka
Reinforcement Learning Tutorial | Edureka
 
Python course task 10 guruprasanth.s
Python course task 10 guruprasanth.sPython course task 10 guruprasanth.s
Python course task 10 guruprasanth.s
 
010 CONDITION USING IF-converted.pptx
010 CONDITION USING IF-converted.pptx010 CONDITION USING IF-converted.pptx
010 CONDITION USING IF-converted.pptx
 
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
 
Types of Statements in Python Programming Language
Types of Statements in Python Programming LanguageTypes of Statements in Python Programming Language
Types of Statements in Python Programming Language
 
Python_Haegl.powerpoint presentation. tx
Python_Haegl.powerpoint presentation. txPython_Haegl.powerpoint presentation. tx
Python_Haegl.powerpoint presentation. tx
 
Core python programming tutorial
Core python programming tutorialCore python programming tutorial
Core python programming tutorial
 
Python Tutorial For Beginners | Python Crash Course - Python Programming Lang...
Python Tutorial For Beginners | Python Crash Course - Python Programming Lang...Python Tutorial For Beginners | Python Crash Course - Python Programming Lang...
Python Tutorial For Beginners | Python Crash Course - Python Programming Lang...
 

Mehr von Edureka!

What to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaWhat to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaEdureka!
 
Top 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaTop 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaEdureka!
 
Top 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaTop 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaEdureka!
 
Tableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaTableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaEdureka!
 
Top 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaTop 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaEdureka!
 
Top Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaTop Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaEdureka!
 
Linux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaLinux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaEdureka!
 
How to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaHow to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaEdureka!
 
Importance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaImportance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaEdureka!
 
RPA in 2020 | Edureka
RPA in 2020 | EdurekaRPA in 2020 | Edureka
RPA in 2020 | EdurekaEdureka!
 
Email Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEmail Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEdureka!
 
EA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEdureka!
 
Cognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaCognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaEdureka!
 
AWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaAWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaEdureka!
 
Blue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaBlue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaEdureka!
 
Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Edureka!
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaA star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaEdureka!
 
Kubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaKubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaEdureka!
 
Introduction to DevOps | Edureka
Introduction to DevOps | EdurekaIntroduction to DevOps | Edureka
Introduction to DevOps | EdurekaEdureka!
 
ITIL® Tutorial for Beginners | ITIL® Foundation Training | Edureka
ITIL® Tutorial for Beginners | ITIL® Foundation Training | EdurekaITIL® Tutorial for Beginners | ITIL® Foundation Training | Edureka
ITIL® Tutorial for Beginners | ITIL® Foundation Training | EdurekaEdureka!
 

Mehr von Edureka! (20)

What to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaWhat to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | Edureka
 
Top 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaTop 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
 
Top 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaTop 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
 
Tableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaTableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | Edureka
 
Top 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaTop 5 PMP Certifications | Edureka
Top 5 PMP Certifications | Edureka
 
Top Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaTop Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | Edureka
 
Linux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaLinux Mint Tutorial | Edureka
Linux Mint Tutorial | Edureka
 
How to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaHow to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| Edureka
 
Importance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaImportance of Digital Marketing | Edureka
Importance of Digital Marketing | Edureka
 
RPA in 2020 | Edureka
RPA in 2020 | EdurekaRPA in 2020 | Edureka
RPA in 2020 | Edureka
 
Email Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEmail Notifications in Jenkins | Edureka
Email Notifications in Jenkins | Edureka
 
EA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | Edureka
 
Cognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaCognitive AI Tutorial | Edureka
Cognitive AI Tutorial | Edureka
 
AWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaAWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
 
Blue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaBlue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | Edureka
 
Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaA star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
 
Kubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaKubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | Edureka
 
Introduction to DevOps | Edureka
Introduction to DevOps | EdurekaIntroduction to DevOps | Edureka
Introduction to DevOps | Edureka
 
ITIL® Tutorial for Beginners | ITIL® Foundation Training | Edureka
ITIL® Tutorial for Beginners | ITIL® Foundation Training | EdurekaITIL® Tutorial for Beginners | ITIL® Foundation Training | Edureka
ITIL® Tutorial for Beginners | ITIL® Foundation Training | Edureka
 

Kürzlich hochgeladen

Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 

Kürzlich hochgeladen (20)

Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 

Python Programming Language | Python Classes | Python Tutorial | Python Training | Edureka

  • 2. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING Agenda  Scripting languages  Python Overview  Python Installation  Python Fundamentals  Python Job Trends
  • 4. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING Scripting Languages A scripting language supports scripts or programs written for a special run-time environment that automate the execution of tasks Figure: Scripting Languages  They are an alternative to programs executed one-by-one by a human operator  They are interpreted rather than being compiled Python is the most popular Scripting Language in the industry Program 1 Program 2 Program 3 Program 1 Program 2 Program 3 Script Script
  • 6. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING  Python is a high-level dynamic programming language  Python supports multiple programming paradigms including object- oriented, imperative, functional programming and procedural styles  It is easy to learn and provides dynamic typing  Used by vast multitude of companies around the globe M O Z I L L A Python Overview Figure: Companies using Python
  • 8. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING Simplicity Of Python Figure: Python IDLE IDE ➢ Highly readable language ➢ Clean visual layout ➢ Less syntactic exceptions ➢ Superior string manipulation ➢ Elegant and dynamic typing ➢ Interpreted nature ➢ Ideal for scripting and rapid application ➢ Fit for many platforms
  • 10. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING Installation - Python Download Python 3.6.0 from www.python.org/downloads and install python-3.6.0.exe on your Windows system 1 2
  • 11. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING Installation – PyCharm IDE Download PyCharm from jetbrains.com/pycharm/download and install it on your system
  • 13. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING Python Fundamentals The following are the five fundamentals required to master Python Datatypes Flow Control Functions File Handling Object & Class Datatypes Numbers Strings Lists Tuples Dictionaries Flow Control If Else For While Continue Functions Definition Function Call Docstring Return File Handling Reading Writing Editing Object & Class Variables Functions
  • 14. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING Datatypes Numbers Strings Lists Tuples Dictionaries Flow Control If Else For While Continue Functions Definition Function Call Docstring Return File Handling Reading Writing Editing Object & Class Variables Functions
  • 15. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING Operations Attributes OOP Datatype Features You do not need to declare variables before using them, or declare their type The type also determines the object’s attributes and items (if any) and whether the object can be altered An object’s type determines what operations the object supports, or, in other words, what operations you can perform on the data value Python is completely object oriented, and not "statically typed" Datatypes All data values in Python are represented by objects and each object or value has a datatype No Declaration
  • 16. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING a = 5 b = 7.3 c = 2 + 3j a = [ 1, 2.2, “Python”] t = (2, “Tuple”, “95”) s = “This is a string” b = ‘AnBnC’ week = {‘Mon’, ‘Tue’, ‘Wed’, ‘Thu’, ‘Fri’, ‘Sat’, ‘Sun’} d = {‘value’:5, ‘key’:125} if (number % 2) = 0: even = True else: even = False Native Datatypes Boolean True / False Dictionaries Unordered bags of key-value pairs Sets Unordered bags of values Tuples Ordered immutable sequences of values Lists Ordered sequences of values Numbers Integers, Floats, Fractions and Complex Numbers Strings Sequences of Unicode Characters Bytes & ByteArray Contain Single Bytes
  • 17. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING Flow Control If Else For While Continue Datatypes Numbers Strings Lists Tuples Dictionaries Functions Definition Function Call Docstring Return File Handling Reading Writing Editing Object & Class Variables Functions
  • 18. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING Flow Control  A program’s Flow Control is the order in which the program’s code executes  To mimic the real world closer then you need to transform real world situations into your program  For this you need to control the execution of your program statements using Flow Controls Check Turn Start Task 1 Task 2 Task 3 Task 4 Figure: Controlled Flow In Python Types of Flow Control if passcontinuefor breakwhile
  • 19. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING if Statement The Python compound statement ’if’ lets you conditionally execute blocks of statements Figure: Flowchart of if Statement Body of if Statement just below if Test expression True False if for while break continue pass
  • 20. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING if Statement If password correct if for while break continue pass YesNo
  • 21. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING for Statement The for statement in Python supports repeated execution of a statement or block of statements that is controlled by an iterable expression Executing Loop Body Update Expression Condition Testing True False Figure: Flowchart of for Statement Exit For Loop Start Expression Initialization if while break continue pass for
  • 22. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING for Statement if while break continue pass for for friendlist[i] != NULL Generate HTML for friendList[i]
  • 23. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING while Statement The while statement in Python supports repeated execution of a statement or block of statements that is controlled by a conditional expression Body Of While Loop Test Expression True False Figure: Flowchart of while Statement Statement Below While if for break continue pass while Difference between while and for loop • For loop is used when we know the number of iterations beforehand. • While is used we know the range of values but don’t know the exact number of iterations
  • 24. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING while Statement if for break continue pass while while (end of page) Load 10 more stories into Newsfeed
  • 25. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING break Statement The break statement is allowed only inside a loop body. When break executes, the loop terminates. If a loop is nested inside other loops, break terminates only the innermost nested loop. Test Condition Within Loop True Figure: Flowchart of break Statement break False if for while continue pass break
  • 26. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING break Statement if for while continue pass break for (Time = Start Of Alarm) If Incoming Call Occurs till (Time = End Of Alarm) break Alarm
  • 27. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING continue Statement The continue statement is allowed only inside a loop body. When continue executes, the current iteration of the loop body terminates, and execution continues with the next iteration of the loop. Test Condition Within Loop True Figure: Flowchart of continue Statement continue False Remaining Part Of Loop Normal Return Of Loop if for while break pass continue
  • 28. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING continue Statement if for while break pass continue Start Of Incoming Call If Alarm Schedule Time End Of Incoming Call Continue – Alarm To Snooze
  • 29. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING pass Statement The pass statement, which performs no action, can be used as a placeholder when a statement is syntactically required but you have nothing specific to do. Figure: Flowchart of pass Statement Test Condition Within Loop True Process 1 False Normal Return Of Loop Else If Condition pass Else Condition True False False Process Default True if for while break continue pass
  • 30. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING Functions Definition Function Call Docstring Return Flow Control If Else For While Continue Datatypes Numbers Strings Lists Tuples Dictionaries File Handling Reading Writing Editing Object & Class Variables Functions
  • 31. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING Functions  Functions in Python is a group of related statements that performs a specific task  Functions make our program more organized and help in code reusability Figure: Understanding Python functions
  • 32. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING Uses of Functions Figure: Reversing a string Figure: Function to reverse a string  Functions help in code reusability  Functions provide organization to the code  Functions provide abstraction  Functions help in extensibility Uses of Functions
  • 33. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING File Handling Reading Writing Editing Flow Control If Else For While Continue Functions Definition Function Call Docstring Return Datatypes Numbers Strings Lists Tuples Dictionaries Object & Class Variables Functions
  • 34. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING File Handling  File Handling refers to those operations that are used to read or write a file  To perform file handling, we need to perform these steps: 1. Open File 2. Read / Write File 3. Close File Open File Write File Read File Close File Figure: A file operation in Python takes place in the following order
  • 35. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING File Handling – Opening A File Opening A File ▪ Python has a built-in function open() to open a file ▪ This function returns a file object, also called a handle, as it is used to read or modify the file accordingly
  • 36. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING File Handling – Writing To A File Writing To A File ▪ In order to write into a file we need to open it in write 'w', append 'a' or exclusive creation 'x' mode. ▪ We need to be careful with the 'w' mode as it will overwrite into the file if it already exists. All previous data are erased. ▪ Writing a string or sequence of bytes (for binary files) is done using write() method.
  • 37. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING File Handling – Reading From A File Reading From A File ▪ To read the content of a file, we must open the file in reading mode. ▪ We can use the read(size) method to read in size number of data. If size parameter is not specified, it reads and returns up to the end of the file
  • 38. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING File Handling – Closing A File Closing A File ▪ When we are done with operations to the file, we need to properly close it. ▪ Closing a file will free up the resources that were tied with the file and is done using the close() method.
  • 39. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING Object & Class Variables Functions Flow Control If Else For While Continue Functions Definition Function Call Docstring Return File Handling Reading Writing Editing Datatypes Numbers Strings Lists Tuples Dictionaries
  • 40. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING Object & Class ➢ Python is an object oriented programming language. ➢ Object is simply a collection of data (variables) and methods (functions) that act on those data. ➢ Class is a blueprint for the object. Figure: Blueprint | Class Figure: Houses | Objects A class is like a house’s blueprint. Objects are houses created from a blueprint. Many houses can be created from a same blueprint.
  • 41. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING Defining Class & Creating Object We define a class using the keyword class The first string is called docstring and has a brief description about the class. A class object can be used to create new object instances (instantiation) of that class. The procedure to create an object is similar to a function call.
  • 43. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING Python Job Trends  The following is the Job Trend of Python across the world  Python has gradually acquired a sizable share in the industry and is the market leader from 2014 Source: www.indeed.com
  • 44. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING Python Success Story
  • 45. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING Python Success Story “Python has been an important part of Google since the beginning, and remains so as the system grows and evolves. Today dozens of Google engineers use Python, and we're looking for more people with skills in this language“ Source: Peter Norvig, Director, Google M O Z I L L A “When a user decides to share out an Instagram photo to Twitter or Facebook, we push that task into Gearman, a task queue system where the whole of Instagram is written in Python” Source: www.engineering.instagram.com “Mozilla is moving 2 of its largest sites (addons.mozilla.org and support.mozilla.com) from PHP to Python” Source: www.micropipes.com “Facebook’s Tornado is a relatively simple, non-blocking Web server framework written in Python, designed to handle thousands of simultaneous connections, making it ideal for real-time Web services” Source: www.developers.facebook.com
  • 47. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING Summary Scripting Languages Job TrendsPython Fundamentals Python Overview Success Stories Installation
  • 48. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING Thank You … Questions/Queries/Feedback