SlideShare a Scribd company logo
1 of 17
Download to read offline
EXCELLENCETECHNOLOGY ISONEOFTHETOPANDBEST
PYTHONCOURSE INSTITUTE
INCHANDIGARH.PYTHONIS
ONEOFTHEMOSTTRENDING
TECHNOLOGYINTHESEDAYS.
ITISAGENERALPURPOSE
PROGRAMMINGLANGUAGE.
EXCELLENCE
TECHNOLOGY
contact us : 93177-88822 https://www.excellencetechnology.in/
CONTENTS
·Introduction To Python
·Python Tokens
·Python Statements
·Data Structure
·Operator
·Flow Control
·Module & Function
·File Handling
contact us : 93177-88822
https://www.excellencetechnology.in/
Python is an interpreted high level
and general purpose
programming language.
It was created by Guido Van Rossum.
He started working on python in
the late 1980's as a successor
to the ABC Programming Language.
Introduction To Python
contact us : 93177-88822
https://www.excellencetechnology.in/
contact us : 93177-88822
https://www.excellencetechnology.in/
Python Tokens : Indivisual elements that can identified
by the programming language called Tokens.
·Identifier
·Keywords
·Operators
·Delimiters
·Literals
Python Tokens
contact-93177-88822 https://www.excellencetechnology.in/
Python Statements
contact us : 93177-88822
https://www.excellencetechnology.in/
Python Statement : Python Statements consists of one or more statements :
1. Simple Statements : The simple statements written in a single logical line of code is called
simple statements .
• Break Statements
• Continue Statements
• Return Statements
• Import Statements
2 . Compound Statements : A compound statements is a statements comprise of group of
statements. the compound statements are usually executes, when a condition satisfier or a
code block is called directly or through a function call.
• Conditional Statements
• Condition Loop Statements
• An Exception Handler
contact us : 93177-88822 https://www.excellencetechnology.in/
Python Statements
4.Data Structure : Data Structures are a way of organizing data
so that it can be accessed more efficiently depending upon the
situation. Data Structures are fundamentals of any
programming language around which a program is built. Python
helps to learn the fundamental of these data structures in a
simpler way as compared to other programming languages. In
this article, we will discuss the Data Structures in the Python
Programming Language and how they are related to some
specific Python Data Types. We will discuss all the in-built data
structures like list tuples, dictionaries, etc. as well as some
advanced data structures like trees, graphs, etc.
Data Structure
https://www.excellencetechnology.in/
contact us : 93177-88822
DATA STRUCTURE
contact us : 93177-88822
https://www.excellencetechnology.in/
PYTHON OPERATOR
contact us : 93177-88822
https://www.excellencetechnology.in/
5. Operator : In Python, operators are special symbols that
designate that some sort of computation should be
performed.
• Increment and decrement operators.
• Bitwise operators.
• Assignment operators.
• Logical operators.
• Relational operators.
• Special operators.
• Conditional operators.
• Arithmetic Operators.
PYTHON OPERATOR
contact us : 93177-88822
https://www.excellencetechnology.in/
FLOW CONTROL
contact us : 93177-88822
https://www.excellencetechnology.in/
6.Flow Control : In Python programming, flow
control is the order in which statements or blocks of
code are executed at runtime based on a condition.
The flow control statements are divided into three
categories
1. Conditional statements
2. Iterative statements.
3. Transfer statements
FLOW CONTROL
contact us : 93177-88822
https://www.excellencetechnology.in/
Built-in Functions - These are pre-defined functions in python. Built-in functions are already defined in
python. A user has to remember the name and parameters of a particular function. Since these functions
are pre-defined, there is no need to define them again.
Python Module : A Python module is a file containing Python definitions and statements. A module can define
functions, classes, and variables. A module can also include runnable code. Grouping related code into a
module makes the code easier to understand and use. It also makes the code logically organized .
Two types of modules in Python :
• Built-in Module
• User- Defined Module
Python Function : Functions are the basic building block of any python program, defined as the organized
block of reusable code, which can be called whenever required. A function is used to carry out a specific task.
The function might require multiple inputs. When the task is done executing, the function can or can not
return one or more values.
There are two types of functions in python:
·User-Defined Functions - these types of functions are defined by the user to perform any specific task. There
are two types of functions in python:
contact us : 93177-88822
https://www.excellencetechnology.in/
9. File Handling : Python too supports file handling and allows users
to handle files i.e., to read and write files, along with many other file
handling options, to operate on files. The concept of file handling
has stretched over various other languages, but the implementation
is either complicated or lengthy, but like other concepts of Python,
this concept here is also easy and short. Python treats files
differently as text or binary and this is important. Each line of code
includes a sequence of characters and they form a text file. Each line
of a file is terminated with a special character, called the EOL or End
of Line characters like comma {,} or newline character. It ends the
current line and tells the interpreter a new one has begun. Let’s
start with the reading and writing files.
FILE HANDLING
contact us : 93177-88822 https://www.excellencetechnology.in/
FILE HANDLING
contact us : 93177-88822
https://www.excellencetechnology.in/
Join Excellence Technology Now
Add : c-133 , First Floor, Industrial Area,Phase8,
Sector-72,
Mohali
Contact us +91 93177-88822
Python Course In Chandigarh

More Related Content

Similar to Python Course In Chandigarh

PYTHION IN DETAIL INFORMATION EDUCATIONAL
PYTHION IN DETAIL INFORMATION EDUCATIONALPYTHION IN DETAIL INFORMATION EDUCATIONAL
PYTHION IN DETAIL INFORMATION EDUCATIONALauramarketings
 
PYTHON IN DETAIL INFORMATION EDUCATIONAL
PYTHON IN DETAIL INFORMATION EDUCATIONALPYTHON IN DETAIL INFORMATION EDUCATIONAL
PYTHON IN DETAIL INFORMATION EDUCATIONALauramarketings
 
What is Python.pptx
What is Python.pptxWhat is Python.pptx
What is Python.pptxMalluKomar
 
Introducing Python Tutorial.pdf
Introducing Python Tutorial.pdfIntroducing Python Tutorial.pdf
Introducing Python Tutorial.pdfrubaabNaseer
 
Python slide basic to advanced english tutorial
Python slide basic to advanced english tutorialPython slide basic to advanced english tutorial
Python slide basic to advanced english tutorialmasukmia.com
 
Python quick guide1
Python quick guide1Python quick guide1
Python quick guide1Kanchilug
 
THE ULTIMATE GUIDE ON PYTHON
THE ULTIMATE GUIDE ON PYTHONTHE ULTIMATE GUIDE ON PYTHON
THE ULTIMATE GUIDE ON PYTHONrobinkumar70125
 
Session-1_Introduction to Python.pptx
Session-1_Introduction to Python.pptxSession-1_Introduction to Python.pptx
Session-1_Introduction to Python.pptxWajidAliHashmi2
 
Python tutorial for beginners - Tib academy
Python tutorial for beginners - Tib academyPython tutorial for beginners - Tib academy
Python tutorial for beginners - Tib academyTIB Academy
 
Dr. Tanvi FOCP Unit-2 Session-1 PPT (Revised).pdf
Dr. Tanvi FOCP Unit-2 Session-1 PPT (Revised).pdfDr. Tanvi FOCP Unit-2 Session-1 PPT (Revised).pdf
Dr. Tanvi FOCP Unit-2 Session-1 PPT (Revised).pdfRahulSingh190790
 
Python Essentials A Quick Guide for Beginners
Python Essentials A Quick Guide for BeginnersPython Essentials A Quick Guide for Beginners
Python Essentials A Quick Guide for BeginnersPRIYASAGIG
 

Similar to Python Course In Chandigarh (20)

PYTHION IN DETAIL INFORMATION EDUCATIONAL
PYTHION IN DETAIL INFORMATION EDUCATIONALPYTHION IN DETAIL INFORMATION EDUCATIONAL
PYTHION IN DETAIL INFORMATION EDUCATIONAL
 
PYTHON IN DETAIL INFORMATION EDUCATIONAL
PYTHON IN DETAIL INFORMATION EDUCATIONALPYTHON IN DETAIL INFORMATION EDUCATIONAL
PYTHON IN DETAIL INFORMATION EDUCATIONAL
 
What is Python.pptx
What is Python.pptxWhat is Python.pptx
What is Python.pptx
 
What is python
What is pythonWhat is python
What is python
 
Introducing Python Tutorial.pdf
Introducing Python Tutorial.pdfIntroducing Python Tutorial.pdf
Introducing Python Tutorial.pdf
 
Python slide basic to advanced english tutorial
Python slide basic to advanced english tutorialPython slide basic to advanced english tutorial
Python slide basic to advanced english tutorial
 
01 python introduction
01 python introduction 01 python introduction
01 python introduction
 
Python Training in Chandigarh
Python Training in ChandigarhPython Training in Chandigarh
Python Training in Chandigarh
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
 
Python quick guide1
Python quick guide1Python quick guide1
Python quick guide1
 
Python Programming.pptx
Python Programming.pptxPython Programming.pptx
Python Programming.pptx
 
THE ULTIMATE GUIDE ON PYTHON
THE ULTIMATE GUIDE ON PYTHONTHE ULTIMATE GUIDE ON PYTHON
THE ULTIMATE GUIDE ON PYTHON
 
python.docx
python.docxpython.docx
python.docx
 
Session-1_Introduction to Python.pptx
Session-1_Introduction to Python.pptxSession-1_Introduction to Python.pptx
Session-1_Introduction to Python.pptx
 
Python tutorial for beginners - Tib academy
Python tutorial for beginners - Tib academyPython tutorial for beginners - Tib academy
Python tutorial for beginners - Tib academy
 
Research paper on python by Rj
Research paper on python by RjResearch paper on python by Rj
Research paper on python by Rj
 
Python
PythonPython
Python
 
Python.pptx
Python.pptxPython.pptx
Python.pptx
 
Dr. Tanvi FOCP Unit-2 Session-1 PPT (Revised).pdf
Dr. Tanvi FOCP Unit-2 Session-1 PPT (Revised).pdfDr. Tanvi FOCP Unit-2 Session-1 PPT (Revised).pdf
Dr. Tanvi FOCP Unit-2 Session-1 PPT (Revised).pdf
 
Python Essentials A Quick Guide for Beginners
Python Essentials A Quick Guide for BeginnersPython Essentials A Quick Guide for Beginners
Python Essentials A Quick Guide for Beginners
 

More from Excellence Academy

Web Designing Training In Chandigarh
Web Designing Training In ChandigarhWeb Designing Training In Chandigarh
Web Designing Training In ChandigarhExcellence Academy
 
Graphic Designing Training In Chandigarh
Graphic Designing  Training In ChandigarhGraphic Designing  Training In Chandigarh
Graphic Designing Training In ChandigarhExcellence Academy
 
Graphic Designing Training In Chandigarh
Graphic Designing Training In ChandigarhGraphic Designing Training In Chandigarh
Graphic Designing Training In ChandigarhExcellence Academy
 
Android Training Course In Chandigarh
Android Training Course In ChandigarhAndroid Training Course In Chandigarh
Android Training Course In ChandigarhExcellence Academy
 
Android Training course In Chandigarh
Android Training course In ChandigarhAndroid Training course In Chandigarh
Android Training course In ChandigarhExcellence Academy
 
Android Training course in Chandigarh
Android Training course in ChandigarhAndroid Training course in Chandigarh
Android Training course in ChandigarhExcellence Academy
 
Android Training Course In Chandigarh
Android Training Course In ChandigarhAndroid Training Course In Chandigarh
Android Training Course In ChandigarhExcellence Academy
 
PHP Training In Chandigarh1.pdf
PHP Training In Chandigarh1.pdfPHP Training In Chandigarh1.pdf
PHP Training In Chandigarh1.pdfExcellence Academy
 

More from Excellence Academy (15)

Web Designing Training In Chandigarh
Web Designing Training In ChandigarhWeb Designing Training In Chandigarh
Web Designing Training In Chandigarh
 
Java Training in Chandigarh
Java Training in ChandigarhJava Training in Chandigarh
Java Training in Chandigarh
 
Java Course in Chandigarh
Java Course in ChandigarhJava Course in Chandigarh
Java Course in Chandigarh
 
Graphic Designing Training In Chandigarh
Graphic Designing  Training In ChandigarhGraphic Designing  Training In Chandigarh
Graphic Designing Training In Chandigarh
 
Graphic Designing Training In Chandigarh
Graphic Designing Training In ChandigarhGraphic Designing Training In Chandigarh
Graphic Designing Training In Chandigarh
 
Android Training Course In Chandigarh
Android Training Course In ChandigarhAndroid Training Course In Chandigarh
Android Training Course In Chandigarh
 
Android Training course In Chandigarh
Android Training course In ChandigarhAndroid Training course In Chandigarh
Android Training course In Chandigarh
 
PHP Training In Chandigarh
PHP Training In ChandigarhPHP Training In Chandigarh
PHP Training In Chandigarh
 
PHP Training In Chandigarh
PHP Training In ChandigarhPHP Training In Chandigarh
PHP Training In Chandigarh
 
SEO Training in Chandigarh
SEO Training in ChandigarhSEO Training in Chandigarh
SEO Training in Chandigarh
 
Android Training course in Chandigarh
Android Training course in ChandigarhAndroid Training course in Chandigarh
Android Training course in Chandigarh
 
Android Training Course In Chandigarh
Android Training Course In ChandigarhAndroid Training Course In Chandigarh
Android Training Course In Chandigarh
 
Php Training in Chnadigarh
Php Training in ChnadigarhPhp Training in Chnadigarh
Php Training in Chnadigarh
 
PHP Training In Chandigarh
PHP Training In ChandigarhPHP Training In Chandigarh
PHP Training In Chandigarh
 
PHP Training In Chandigarh1.pdf
PHP Training In Chandigarh1.pdfPHP Training In Chandigarh1.pdf
PHP Training In Chandigarh1.pdf
 

Recently uploaded

Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxUmeshTimilsina1
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 

Recently uploaded (20)

Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 

Python Course In Chandigarh

  • 1.
  • 3. CONTENTS ·Introduction To Python ·Python Tokens ·Python Statements ·Data Structure ·Operator ·Flow Control ·Module & Function ·File Handling contact us : 93177-88822 https://www.excellencetechnology.in/
  • 4. Python is an interpreted high level and general purpose programming language. It was created by Guido Van Rossum. He started working on python in the late 1980's as a successor to the ABC Programming Language. Introduction To Python contact us : 93177-88822 https://www.excellencetechnology.in/
  • 5. contact us : 93177-88822 https://www.excellencetechnology.in/ Python Tokens : Indivisual elements that can identified by the programming language called Tokens. ·Identifier ·Keywords ·Operators ·Delimiters ·Literals Python Tokens contact-93177-88822 https://www.excellencetechnology.in/
  • 6. Python Statements contact us : 93177-88822 https://www.excellencetechnology.in/ Python Statement : Python Statements consists of one or more statements : 1. Simple Statements : The simple statements written in a single logical line of code is called simple statements . • Break Statements • Continue Statements • Return Statements • Import Statements 2 . Compound Statements : A compound statements is a statements comprise of group of statements. the compound statements are usually executes, when a condition satisfier or a code block is called directly or through a function call. • Conditional Statements • Condition Loop Statements • An Exception Handler
  • 7. contact us : 93177-88822 https://www.excellencetechnology.in/ Python Statements
  • 8. 4.Data Structure : Data Structures are a way of organizing data so that it can be accessed more efficiently depending upon the situation. Data Structures are fundamentals of any programming language around which a program is built. Python helps to learn the fundamental of these data structures in a simpler way as compared to other programming languages. In this article, we will discuss the Data Structures in the Python Programming Language and how they are related to some specific Python Data Types. We will discuss all the in-built data structures like list tuples, dictionaries, etc. as well as some advanced data structures like trees, graphs, etc. Data Structure https://www.excellencetechnology.in/ contact us : 93177-88822
  • 9. DATA STRUCTURE contact us : 93177-88822 https://www.excellencetechnology.in/
  • 10. PYTHON OPERATOR contact us : 93177-88822 https://www.excellencetechnology.in/ 5. Operator : In Python, operators are special symbols that designate that some sort of computation should be performed. • Increment and decrement operators. • Bitwise operators. • Assignment operators. • Logical operators. • Relational operators. • Special operators. • Conditional operators. • Arithmetic Operators.
  • 11. PYTHON OPERATOR contact us : 93177-88822 https://www.excellencetechnology.in/
  • 12. FLOW CONTROL contact us : 93177-88822 https://www.excellencetechnology.in/ 6.Flow Control : In Python programming, flow control is the order in which statements or blocks of code are executed at runtime based on a condition. The flow control statements are divided into three categories 1. Conditional statements 2. Iterative statements. 3. Transfer statements
  • 13. FLOW CONTROL contact us : 93177-88822 https://www.excellencetechnology.in/ Built-in Functions - These are pre-defined functions in python. Built-in functions are already defined in python. A user has to remember the name and parameters of a particular function. Since these functions are pre-defined, there is no need to define them again. Python Module : A Python module is a file containing Python definitions and statements. A module can define functions, classes, and variables. A module can also include runnable code. Grouping related code into a module makes the code easier to understand and use. It also makes the code logically organized . Two types of modules in Python : • Built-in Module • User- Defined Module Python Function : Functions are the basic building block of any python program, defined as the organized block of reusable code, which can be called whenever required. A function is used to carry out a specific task. The function might require multiple inputs. When the task is done executing, the function can or can not return one or more values. There are two types of functions in python: ·User-Defined Functions - these types of functions are defined by the user to perform any specific task. There are two types of functions in python:
  • 14. contact us : 93177-88822 https://www.excellencetechnology.in/ 9. File Handling : Python too supports file handling and allows users to handle files i.e., to read and write files, along with many other file handling options, to operate on files. The concept of file handling has stretched over various other languages, but the implementation is either complicated or lengthy, but like other concepts of Python, this concept here is also easy and short. Python treats files differently as text or binary and this is important. Each line of code includes a sequence of characters and they form a text file. Each line of a file is terminated with a special character, called the EOL or End of Line characters like comma {,} or newline character. It ends the current line and tells the interpreter a new one has begun. Let’s start with the reading and writing files. FILE HANDLING
  • 15. contact us : 93177-88822 https://www.excellencetechnology.in/ FILE HANDLING
  • 16. contact us : 93177-88822 https://www.excellencetechnology.in/ Join Excellence Technology Now Add : c-133 , First Floor, Industrial Area,Phase8, Sector-72, Mohali Contact us +91 93177-88822