SlideShare ist ein Scribd-Unternehmen logo
1 von 40
Downloaden Sie, um offline zu lesen
1plo
Python – An Introduction
Mahalakshmi Arulalan
maharulalan@gmail.com
Python is a Programming Language
The
picture
can’t be
displaye
d.
There are so many
Programming Languages.
Why Python?
How to learn ?
Python – Shell
l Interactive Python
l Instance Responce
l Learn as you type
bpython
ipython } teach you very easily
Python is simple and beautiful
Python is Easy to Learn
Python is Free Open Source Software
Freedoms in FOSS
1 Use for any purpose
2 Study and adapt(modify)
3 Distribute either free or gratis
4 Distribute the modified source
Can Do
l Text Handling
l System Administration
l GUI programming
l Web Applications
l Database Apps
l Scientific Applications
l Games
l Natural Language
Process
l ...
H i s t o r y
Guido van Rossum
Father of Python
1991
Perl Java Python Ruby PHP
1987 1991 1993 1995
What is
Python?
Python is...
A dynamic,open source programming language
with a focus on
simplicity and productivity. It has an
elegant syntax that is natural to read and easy to
write.
Quick and Easy
lIntrepreted Scripting Language
lVariable declarations are unnecessary
lVariables are not typed
lSyntax is simple and consistent
lMemory management is automatic
Object Oriented Programming
Classes
Methods
Inheritance
Modules
etc.,
Examples!
print “Hello World”
No Semicolons !
Variables
colored_index_cards
No Need to Declare Variable Types !
Python Knows Everything !
value = 10
print value
value = 100.50
print value
value = “This is String”
print value * 3
Input
name = raw_input(“What is Your name?”)
print "Hello" , name , "Welcome"
Indentation
You have to follow the
Indentation
Correctly.
Otherwise,
Python will beat you !
Discipline
Makes
Good
Flow
score = input("Enter the value
of the score- ")
if score >=5000 :
print "you win"
elif score <=0:
print "you lose"
else:
print "Current score:",score
print "donen"
Loop
for i in range(1, 5):
print i
print 'The for loop is over'
End of the Day one.

Weitere ähnliche Inhalte

Was ist angesagt?

Machine learning session 1
Machine learning session 1Machine learning session 1
Machine learning session 1NirsandhG
 
Python presentation
Python presentationPython presentation
Python presentationgaganapponix
 
Python programming
Python programmingPython programming
Python programmingMegha V
 
python for linguists
python for linguistspython for linguists
python for linguistsshukaihsieh
 
python classes in thane
python classes in thanepython classes in thane
python classes in thanefaizrashid1995
 
Top python interview question and answer
Top python interview question and answerTop python interview question and answer
Top python interview question and answerAnkita Singh
 
Presentation on java
Presentation on javaPresentation on java
Presentation on javawilliam john
 
introduction to Python (for beginners)
introduction to Python (for beginners)introduction to Python (for beginners)
introduction to Python (for beginners)guobichrng
 
Python programming
Python programmingPython programming
Python programmingnoor_faiza
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language ProcessingAkhilPolisetty
 
65 - An Empirical Simulation-based Study of Real-Time Speech Translation for ...
65 - An Empirical Simulation-based Study of Real-Time Speech Translation for ...65 - An Empirical Simulation-based Study of Real-Time Speech Translation for ...
65 - An Empirical Simulation-based Study of Real-Time Speech Translation for ...ESEM 2014
 
Chapter 8 getting started with python
Chapter 8 getting started with pythonChapter 8 getting started with python
Chapter 8 getting started with pythonPraveen M Jigajinni
 
Past, Present, and Future: Machine Translation & Natural Language Processing ...
Past, Present, and Future: Machine Translation & Natural Language Processing ...Past, Present, and Future: Machine Translation & Natural Language Processing ...
Past, Present, and Future: Machine Translation & Natural Language Processing ...John Tinsley
 
How Python Is Used In Machine Learning
How Python Is Used In Machine LearningHow Python Is Used In Machine Learning
How Python Is Used In Machine LearningRobert Smith
 
Natural language processing
Natural language processingNatural language processing
Natural language processingAbash shah
 
Translation j 2009-cocci (1)
Translation j 2009-cocci (1)Translation j 2009-cocci (1)
Translation j 2009-cocci (1)FabiolaPanetti
 
A tutorial on Machine Translation
A tutorial on Machine TranslationA tutorial on Machine Translation
A tutorial on Machine TranslationJaganadh Gopinadhan
 

Was ist angesagt? (20)

Machine learning session 1
Machine learning session 1Machine learning session 1
Machine learning session 1
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Python presentation
Python presentationPython presentation
Python presentation
 
Python programming
Python programmingPython programming
Python programming
 
Description about python
Description about pythonDescription about python
Description about python
 
python for linguists
python for linguistspython for linguists
python for linguists
 
python classes in thane
python classes in thanepython classes in thane
python classes in thane
 
Top python interview question and answer
Top python interview question and answerTop python interview question and answer
Top python interview question and answer
 
Presentation on java
Presentation on javaPresentation on java
Presentation on java
 
introduction to Python (for beginners)
introduction to Python (for beginners)introduction to Python (for beginners)
introduction to Python (for beginners)
 
Python programming
Python programmingPython programming
Python programming
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 
65 - An Empirical Simulation-based Study of Real-Time Speech Translation for ...
65 - An Empirical Simulation-based Study of Real-Time Speech Translation for ...65 - An Empirical Simulation-based Study of Real-Time Speech Translation for ...
65 - An Empirical Simulation-based Study of Real-Time Speech Translation for ...
 
Chapter 8 getting started with python
Chapter 8 getting started with pythonChapter 8 getting started with python
Chapter 8 getting started with python
 
Past, Present, and Future: Machine Translation & Natural Language Processing ...
Past, Present, and Future: Machine Translation & Natural Language Processing ...Past, Present, and Future: Machine Translation & Natural Language Processing ...
Past, Present, and Future: Machine Translation & Natural Language Processing ...
 
How Python Is Used In Machine Learning
How Python Is Used In Machine LearningHow Python Is Used In Machine Learning
How Python Is Used In Machine Learning
 
Python overview
Python overviewPython overview
Python overview
 
Natural language processing
Natural language processingNatural language processing
Natural language processing
 
Translation j 2009-cocci (1)
Translation j 2009-cocci (1)Translation j 2009-cocci (1)
Translation j 2009-cocci (1)
 
A tutorial on Machine Translation
A tutorial on Machine TranslationA tutorial on Machine Translation
A tutorial on Machine Translation
 

Ähnlich wie Python - An Introduction

Why should you learn to python programming?
Why should you learn to python programming?Why should you learn to python programming?
Why should you learn to python programming?sakshichaudhary58
 
Python Applications by The Knowledge Academy.docx
Python Applications by The Knowledge Academy.docxPython Applications by The Knowledge Academy.docx
Python Applications by The Knowledge Academy.docxAbhinavSharma309481
 
Python Programming and ApplicationsUnit-1.docx
Python Programming and ApplicationsUnit-1.docxPython Programming and ApplicationsUnit-1.docx
Python Programming and ApplicationsUnit-1.docxManohar k
 
Python theory.docx
Python theory.docxPython theory.docx
Python theory.docxwrite5
 
Python Programming.pptx
Python Programming.pptxPython Programming.pptx
Python Programming.pptxSandesh377175
 
Python Programming Unit1_Aditya College of Engg & Tech
Python Programming Unit1_Aditya College of Engg & TechPython Programming Unit1_Aditya College of Engg & Tech
Python Programming Unit1_Aditya College of Engg & TechRamanamurthy Banda
 
Best Python_Training_-_NareshIT
Best Python_Training_-_NareshIT Best Python_Training_-_NareshIT
Best Python_Training_-_NareshIT avinashnit
 
Best Python_Training_-_NareshIT
Best Python_Training_-_NareshIT Best Python_Training_-_NareshIT
Best Python_Training_-_NareshIT avinashnit
 
Python_Training_-_NareshIT_
Python_Training_-_NareshIT_Python_Training_-_NareshIT_
Python_Training_-_NareshIT_avinashnit
 

Ähnlich wie Python - An Introduction (20)

Python
PythonPython
Python
 
Why should you learn to python programming?
Why should you learn to python programming?Why should you learn to python programming?
Why should you learn to python programming?
 
Features of Python.pdf
Features of Python.pdfFeatures of Python.pdf
Features of Python.pdf
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Python basics
Python basicsPython basics
Python basics
 
Python Training in Chandigarh
Python Training in ChandigarhPython Training in Chandigarh
Python Training in Chandigarh
 
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
 
Python
PythonPython
Python
 
Features of python.pptx
Features of python.pptxFeatures of python.pptx
Features of python.pptx
 
Python Applications by The Knowledge Academy.docx
Python Applications by The Knowledge Academy.docxPython Applications by The Knowledge Academy.docx
Python Applications by The Knowledge Academy.docx
 
Govind.ppt.pptx
Govind.ppt.pptxGovind.ppt.pptx
Govind.ppt.pptx
 
Python Programming and ApplicationsUnit-1.docx
Python Programming and ApplicationsUnit-1.docxPython Programming and ApplicationsUnit-1.docx
Python Programming and ApplicationsUnit-1.docx
 
Python theory.docx
Python theory.docxPython theory.docx
Python theory.docx
 
Python Programming.pptx
Python Programming.pptxPython Programming.pptx
Python Programming.pptx
 
Python Programming Unit1_Aditya College of Engg & Tech
Python Programming Unit1_Aditya College of Engg & TechPython Programming Unit1_Aditya College of Engg & Tech
Python Programming Unit1_Aditya College of Engg & Tech
 
Best Python_Training_-_NareshIT
Best Python_Training_-_NareshIT Best Python_Training_-_NareshIT
Best Python_Training_-_NareshIT
 
Best Python_Training_-_NareshIT
Best Python_Training_-_NareshIT Best Python_Training_-_NareshIT
Best Python_Training_-_NareshIT
 
Python_Training_-_NareshIT_
Python_Training_-_NareshIT_Python_Training_-_NareshIT_
Python_Training_-_NareshIT_
 

Mehr von MAHALAKSHMI P

Python an-intro youtube-livestream-day4
Python an-intro youtube-livestream-day4Python an-intro youtube-livestream-day4
Python an-intro youtube-livestream-day4MAHALAKSHMI P
 
Python an-intro youtube-livestream-day3
Python an-intro youtube-livestream-day3Python an-intro youtube-livestream-day3
Python an-intro youtube-livestream-day3MAHALAKSHMI P
 
Python an-intro youtube-livestream-day2
Python an-intro youtube-livestream-day2Python an-intro youtube-livestream-day2
Python an-intro youtube-livestream-day2MAHALAKSHMI P
 
linked list operations in data structures
linked list operations in data structureslinked list operations in data structures
linked list operations in data structuresMAHALAKSHMI P
 
sparse matrix in data structure
sparse matrix in data structuresparse matrix in data structure
sparse matrix in data structureMAHALAKSHMI P
 
arrays in data structures
arrays in data structuresarrays in data structures
arrays in data structuresMAHALAKSHMI P
 
Data structures and algorithms
Data structures and algorithmsData structures and algorithms
Data structures and algorithmsMAHALAKSHMI P
 
Data structures- introduction1
Data structures-  introduction1Data structures-  introduction1
Data structures- introduction1MAHALAKSHMI P
 
Sex education,பாலியல் கல்வி ,paaliyal kalvi,good touch bad touch
Sex education,பாலியல் கல்வி ,paaliyal kalvi,good touch bad touchSex education,பாலியல் கல்வி ,paaliyal kalvi,good touch bad touch
Sex education,பாலியல் கல்வி ,paaliyal kalvi,good touch bad touchMAHALAKSHMI P
 

Mehr von MAHALAKSHMI P (13)

Python an-intro youtube-livestream-day4
Python an-intro youtube-livestream-day4Python an-intro youtube-livestream-day4
Python an-intro youtube-livestream-day4
 
Python an-intro youtube-livestream-day3
Python an-intro youtube-livestream-day3Python an-intro youtube-livestream-day3
Python an-intro youtube-livestream-day3
 
Python an-intro youtube-livestream-day2
Python an-intro youtube-livestream-day2Python an-intro youtube-livestream-day2
Python an-intro youtube-livestream-day2
 
double linked list
double linked listdouble linked list
double linked list
 
linked list operations in data structures
linked list operations in data structureslinked list operations in data structures
linked list operations in data structures
 
singly linked_list
singly linked_listsingly linked_list
singly linked_list
 
sparse matrix in data structure
sparse matrix in data structuresparse matrix in data structure
sparse matrix in data structure
 
arrays in data structures
arrays in data structuresarrays in data structures
arrays in data structures
 
Data structures and algorithms
Data structures and algorithmsData structures and algorithms
Data structures and algorithms
 
Data structures- introduction1
Data structures-  introduction1Data structures-  introduction1
Data structures- introduction1
 
Python_in_Detail
Python_in_DetailPython_in_Detail
Python_in_Detail
 
Sex education,பாலியல் கல்வி ,paaliyal kalvi,good touch bad touch
Sex education,பாலியல் கல்வி ,paaliyal kalvi,good touch bad touchSex education,பாலியல் கல்வி ,paaliyal kalvi,good touch bad touch
Sex education,பாலியல் கல்வி ,paaliyal kalvi,good touch bad touch
 
Seminar on sunday
Seminar on sundaySeminar on sunday
Seminar on sunday
 

Kürzlich hochgeladen

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
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
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 

Kürzlich hochgeladen (20)

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
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 ...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 

Python - An Introduction