SlideShare une entreprise Scribd logo
1  sur  17
Télécharger pour lire hors ligne
Introduction To Python
Biswajeet. D
Python is an interpreted, object-oriented, high-level programming language with
dynamic semantics.
 First released in 1990
 Designed By: Guido van Rossum
 Name came from a 1970s British television show : Reference: https://www.python.org/~guido
Monty Python’s Flying Circus
Why Python ?
 Easy to learn
 Readable
 Simplicity
 Multipurpose
 Errors appear on runtime. . . . . .
A Sample Python Code Snippet……
R Vs Python – Swap 2 Variables Code
Comparison
Below is screenshot of swapping 2 variables without using a third
variable in R & Python
Python Material
Online Materials:
https://docs.python.org/3/
Other Resources:
http://www.sololearn.com/Course/Python/
Popular Python recipes
http://code.activestate.com/recipes/langs/python/
“Sololearn Python“
(A Simple Android
App for Beginners)
What is Python?
Multi Functional:
 Simple procedural programming
 Object-orientation
 Functional programming
Computer Programming for everybody :
 Portable: Different interpreters for many platforms: CPython, Jython, IronPython,
PyPy.
 Open source, so anyone can contribute to its development
 Code that is as understandable as plain English
 Suitability for everyday tasks, allowing for short development times
 Extensible: Reusable code using modules and packages
 Easy to write new modules in ‘C’.
Comparison with other languages
 Python code is typically 3-5 times shorter than equivalent Java code, it
is often 5-10 times shorter than equivalent C++ code!
 Anecdotal evidence suggests that one Python programmer can finish in two
months what two C++ programmers can't complete in a year.
 Python shines as a glue language, used to combine components written in
C++.
So, Python can increase productivity
Reference: https://www.python.org/doc/essays/comparisons/
Points to be noted
 “Python is a scripting language"
False. Python has been used as a scripting language, but it is also used
to develop large stand-alone applications.
Python is interpreted, thus slower than running native code
 True, But not always
 Python can be used to `glue' together native modules.
 Libraries (Numpy,Scipy etc.)are often very efficient.
 Dynamic typing is unsafe.
 Python is strongly typed and well behaved.
 It can deal with type errors at runtime.
Use Cases/Applications
 Application Development
 Web Development
 Scripting
 Scientific Computing
Success Stories: https://www.python.org/about/success/
Use Cases/Applications
 Google – Many components of search engine were written in Python
 Yahoo - maps were developed using Python
 RHEL – Installer developed using Python
 NASA – Uses Python as the main scripting language
The RedMonk Programming Language
Rankings: 2015
The RedMonk Programming Language
Rankings..(Cont’d)
Python in Big Data & Data Science
http://www.kdnuggets.com/2015/05/r-vs-python-data-
science.html
Python- Pros and Cons
 Pro: IPython Notebook or Jupyter
The IPython Notebook makes it easier to work with Python and data. You can
easily share notebooks with colleagues, without having them to install anything.
This drastically reduces the overhead of organizing code, output and notes
files. This will allow you to spend more time doing real work.
 A general purpose language
Python is a general purpose language that is easy and intuitive. This gives it a
relatively flat learning curve, and it increases the speed at which you can write
a program. In short, you need less time to code and you have more time to play
around with it! Furthermore, the Python testing framework is a built-in, low-
barrier-to-entry testing framework that encourages good test coverage. This
guarantees your code is reusable and dependable.
Pros & Cons (Cont’d)…..
 Pro :A multi purpose language
Python brings people with different backgrounds together. As a common,
easy to understand language that is known by programmers and that can
easily be learnt by statisticians, you can build a single tool that integrates
with every part of your workflow.
 Pro/Con: Visualizations
Visualizations are an important criteria when choosing data analysis software.
Although Python has some nice visualization libraries, such as Seaborn,
Bokeh and Pygal, Matplotlib etc.
 Con: Python is a challenger
Python is a challenger to R. It does not offer an alternative to the hundreds of
essential R packages, Although it‟s catching up.
Versions
Python2
 Python2 – Very Stable (Python-2.7) – All may not support
Python3
 Current Release – 3.5.1 (Released on 21-12-2015)
 Some major changes and clean-ups
 Not backward compatible (cannot execute 2.x code)
 V3.6 - Ongoing development

Contenu connexe

Tendances

POWER OF PYTHON PROGRAMMING LANGUAGE
POWER OF PYTHON PROGRAMMING LANGUAGE POWER OF PYTHON PROGRAMMING LANGUAGE
POWER OF PYTHON PROGRAMMING LANGUAGE teachersduniya.com
 
Python programming
Python programmingPython programming
Python programmingMegha V
 
Python, the Language of Science and Engineering for Engineers
Python, the Language of Science and Engineering for EngineersPython, the Language of Science and Engineering for Engineers
Python, the Language of Science and Engineering for EngineersBoey Pak Cheong
 
Python 101 for the .NET Developer
Python 101 for the .NET DeveloperPython 101 for the .NET Developer
Python 101 for the .NET DeveloperSarah Dutkiewicz
 
Python for the Mobile and Web
Python for the Mobile and WebPython for the Mobile and Web
Python for the Mobile and WebDerek Kiong
 
Introduction to python programming
Introduction to python programmingIntroduction to python programming
Introduction to python programmingKiran Vadakkath
 
Why Python?
Why Python?Why Python?
Why Python?Adam Pah
 
IHTM Python PCEP Introduction to Python
IHTM Python PCEP Introduction to PythonIHTM Python PCEP Introduction to Python
IHTM Python PCEP Introduction to PythonIHTMINSTITUTE
 
introduction to Python (for beginners)
introduction to Python (for beginners)introduction to Python (for beginners)
introduction to Python (for beginners)guobichrng
 
Python - An Introduction
Python - An IntroductionPython - An Introduction
Python - An IntroductionSwarit Wadhe
 
Introduction to python programming, Why Python?, Applications of Python
Introduction to python programming, Why Python?, Applications of PythonIntroduction to python programming, Why Python?, Applications of Python
Introduction to python programming, Why Python?, Applications of PythonPro Guide
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to pythonAgung Wahyudi
 

Tendances (20)

POWER OF PYTHON PROGRAMMING LANGUAGE
POWER OF PYTHON PROGRAMMING LANGUAGE POWER OF PYTHON PROGRAMMING LANGUAGE
POWER OF PYTHON PROGRAMMING LANGUAGE
 
C++ vs python
C++ vs pythonC++ vs python
C++ vs python
 
Python programming
Python programmingPython programming
Python programming
 
Python, the Language of Science and Engineering for Engineers
Python, the Language of Science and Engineering for EngineersPython, the Language of Science and Engineering for Engineers
Python, the Language of Science and Engineering for Engineers
 
Python basic
Python basicPython basic
Python basic
 
Python 101 for the .NET Developer
Python 101 for the .NET DeveloperPython 101 for the .NET Developer
Python 101 for the .NET Developer
 
Python for the Mobile and Web
Python for the Mobile and WebPython for the Mobile and Web
Python for the Mobile and Web
 
Introduction to python programming
Introduction to python programmingIntroduction to python programming
Introduction to python programming
 
Basics of python
Basics of pythonBasics of python
Basics of python
 
Why Python?
Why Python?Why Python?
Why Python?
 
IHTM Python PCEP Introduction to Python
IHTM Python PCEP Introduction to PythonIHTM Python PCEP Introduction to Python
IHTM Python PCEP Introduction to Python
 
Cmpe202 01 Research
Cmpe202 01 ResearchCmpe202 01 Research
Cmpe202 01 Research
 
introduction to Python (for beginners)
introduction to Python (for beginners)introduction to Python (for beginners)
introduction to Python (for beginners)
 
Lets learn Python !
Lets learn Python !Lets learn Python !
Lets learn Python !
 
Python - An Introduction
Python - An IntroductionPython - An Introduction
Python - An Introduction
 
Introduction to python
 Introduction to python Introduction to python
Introduction to python
 
Introduction to python programming, Why Python?, Applications of Python
Introduction to python programming, Why Python?, Applications of PythonIntroduction to python programming, Why Python?, Applications of Python
Introduction to python programming, Why Python?, Applications of Python
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Python
PythonPython
Python
 
Python
PythonPython
Python
 

En vedette

seminario "El derecho a la ciudad en el contexto de Hábitat III: Perspectivas...
seminario "El derecho a la ciudad en el contexto de Hábitat III: Perspectivas...seminario "El derecho a la ciudad en el contexto de Hábitat III: Perspectivas...
seminario "El derecho a la ciudad en el contexto de Hábitat III: Perspectivas...Graciela Mariani
 
B1 1.10 How do we Deal with Disease
B1 1.10 How do we Deal with DiseaseB1 1.10 How do we Deal with Disease
B1 1.10 How do we Deal with DiseaseBenLayde0
 
Polyurethane Market Analysis, Size, Share & Forecast By Ashutosh
Polyurethane Market Analysis, Size, Share & Forecast By Ashutosh Polyurethane Market Analysis, Size, Share & Forecast By Ashutosh
Polyurethane Market Analysis, Size, Share & Forecast By Ashutosh Ashutosh Anand
 

En vedette (12)

Nick pp
Nick ppNick pp
Nick pp
 
Data Management
Data Management Data Management
Data Management
 
santiago soto chacon 8-3
santiago soto chacon 8-3  santiago soto chacon 8-3
santiago soto chacon 8-3
 
Javainnovation
JavainnovationJavainnovation
Javainnovation
 
seminario "El derecho a la ciudad en el contexto de Hábitat III: Perspectivas...
seminario "El derecho a la ciudad en el contexto de Hábitat III: Perspectivas...seminario "El derecho a la ciudad en el contexto de Hábitat III: Perspectivas...
seminario "El derecho a la ciudad en el contexto de Hábitat III: Perspectivas...
 
One sheet summary 260000
One sheet summary   260000One sheet summary   260000
One sheet summary 260000
 
B1 1.10 How do we Deal with Disease
B1 1.10 How do we Deal with DiseaseB1 1.10 How do we Deal with Disease
B1 1.10 How do we Deal with Disease
 
Polyurethane Market Analysis, Size, Share & Forecast By Ashutosh
Polyurethane Market Analysis, Size, Share & Forecast By Ashutosh Polyurethane Market Analysis, Size, Share & Forecast By Ashutosh
Polyurethane Market Analysis, Size, Share & Forecast By Ashutosh
 
Труды Буре Р. С."Сердце мое принадлежит детям".
Труды Буре Р. С."Сердце мое принадлежит детям". Труды Буре Р. С."Сердце мое принадлежит детям".
Труды Буре Р. С."Сердце мое принадлежит детям".
 
Труды Сластенина В.А.
Труды Сластенина В.А.Труды Сластенина В.А.
Труды Сластенина В.А.
 
Труды Пурышевой Н. С.
Труды Пурышевой Н. С. Труды Пурышевой Н. С.
Труды Пурышевой Н. С.
 
Труды Марцинковской Т. Д.
Труды Марцинковской Т. Д.Труды Марцинковской Т. Д.
Труды Марцинковской Т. Д.
 

Similaire à Introduction To Python

IRJET- Python: Simple though an Important Programming Language
IRJET- Python: Simple though an Important Programming LanguageIRJET- Python: Simple though an Important Programming Language
IRJET- Python: Simple though an Important Programming LanguageIRJET Journal
 
PYTHON TUTORIALS.pptx
PYTHON TUTORIALS.pptxPYTHON TUTORIALS.pptx
PYTHON TUTORIALS.pptxEzatIlman1
 
Programming in python in detail concept .pptx
Programming in python in detail concept .pptxProgramming in python in detail concept .pptx
Programming in python in detail concept .pptxKavitha713564
 
Python Programming and ApplicationsUnit-1.docx
Python Programming and ApplicationsUnit-1.docxPython Programming and ApplicationsUnit-1.docx
Python Programming and ApplicationsUnit-1.docxManohar k
 
INTRODUCTION-TO-PYTHON
INTRODUCTION-TO-PYTHONINTRODUCTION-TO-PYTHON
INTRODUCTION-TO-PYTHONRuchiNagar3
 
Basic Python Introduction Lecture 1.pptx
Basic Python Introduction Lecture 1.pptxBasic Python Introduction Lecture 1.pptx
Basic Python Introduction Lecture 1.pptxAditya Patel
 
Why Python in required in Civil Engineering
Why Python in required in Civil EngineeringWhy Python in required in Civil Engineering
Why Python in required in Civil EngineeringRushikesh Kolhe
 
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
 
Why Python is the Best Coding Language For PWA Development_.ppt
Why Python is the Best Coding Language For PWA Development_.pptWhy Python is the Best Coding Language For PWA Development_.ppt
Why Python is the Best Coding Language For PWA Development_.pptTechinventive Software
 
session5-Getting stated with Python.pdf
session5-Getting stated with Python.pdfsession5-Getting stated with Python.pdf
session5-Getting stated with Python.pdfAyushDutta32
 
Migration of Applications to Python is the most prudent Decision
Migration of Applications to Python is the most prudent DecisionMigration of Applications to Python is the most prudent Decision
Migration of Applications to Python is the most prudent DecisionMindfire LLC
 
Python | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python TutorialPython | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python TutorialQA TrainingHub
 
637b4894085c4_ppt.pptx
637b4894085c4_ppt.pptx637b4894085c4_ppt.pptx
637b4894085c4_ppt.pptxArjun123Bagri
 

Similaire à Introduction To Python (20)

Research paper on python by Rj
Research paper on python by RjResearch paper on python by Rj
Research paper on python by Rj
 
IRJET- Python: Simple though an Important Programming Language
IRJET- Python: Simple though an Important Programming LanguageIRJET- Python: Simple though an Important Programming Language
IRJET- Python: Simple though an Important Programming Language
 
PYTHON TUTORIALS.pptx
PYTHON TUTORIALS.pptxPYTHON TUTORIALS.pptx
PYTHON TUTORIALS.pptx
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
 
Programming in python in detail concept .pptx
Programming in python in detail concept .pptxProgramming in python in detail concept .pptx
Programming in python in detail concept .pptx
 
Python Programming and ApplicationsUnit-1.docx
Python Programming and ApplicationsUnit-1.docxPython Programming and ApplicationsUnit-1.docx
Python Programming and ApplicationsUnit-1.docx
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
 
INTRODUCTION-TO-PYTHON
INTRODUCTION-TO-PYTHONINTRODUCTION-TO-PYTHON
INTRODUCTION-TO-PYTHON
 
Basic Python Introduction Lecture 1.pptx
Basic Python Introduction Lecture 1.pptxBasic Python Introduction Lecture 1.pptx
Basic Python Introduction Lecture 1.pptx
 
Why Python in required in Civil Engineering
Why Python in required in Civil EngineeringWhy Python in required in Civil Engineering
Why Python in required in Civil Engineering
 
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
 
Why Python is the Best Coding Language For PWA Development_.ppt
Why Python is the Best Coding Language For PWA Development_.pptWhy Python is the Best Coding Language For PWA Development_.ppt
Why Python is the Best Coding Language For PWA Development_.ppt
 
session5-Getting stated with Python.pdf
session5-Getting stated with Python.pdfsession5-Getting stated with Python.pdf
session5-Getting stated with Python.pdf
 
Migration of Applications to Python is the most prudent Decision
Migration of Applications to Python is the most prudent DecisionMigration of Applications to Python is the most prudent Decision
Migration of Applications to Python is the most prudent Decision
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
 
Python | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python TutorialPython | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python Tutorial
 
Pyhton-1a-Basics.pdf
Pyhton-1a-Basics.pdfPyhton-1a-Basics.pdf
Pyhton-1a-Basics.pdf
 
python unit2.pptx
python unit2.pptxpython unit2.pptx
python unit2.pptx
 
637b4894085c4_ppt.pptx
637b4894085c4_ppt.pptx637b4894085c4_ppt.pptx
637b4894085c4_ppt.pptx
 

Dernier

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
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
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 

Dernier (20)

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
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...
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 

Introduction To Python

  • 2. Python is an interpreted, object-oriented, high-level programming language with dynamic semantics.  First released in 1990  Designed By: Guido van Rossum  Name came from a 1970s British television show : Reference: https://www.python.org/~guido Monty Python’s Flying Circus
  • 3. Why Python ?  Easy to learn  Readable  Simplicity  Multipurpose  Errors appear on runtime. . . . . .
  • 4. A Sample Python Code Snippet……
  • 5. R Vs Python – Swap 2 Variables Code Comparison Below is screenshot of swapping 2 variables without using a third variable in R & Python
  • 6. Python Material Online Materials: https://docs.python.org/3/ Other Resources: http://www.sololearn.com/Course/Python/ Popular Python recipes http://code.activestate.com/recipes/langs/python/ “Sololearn Python“ (A Simple Android App for Beginners)
  • 7. What is Python? Multi Functional:  Simple procedural programming  Object-orientation  Functional programming Computer Programming for everybody :  Portable: Different interpreters for many platforms: CPython, Jython, IronPython, PyPy.  Open source, so anyone can contribute to its development  Code that is as understandable as plain English  Suitability for everyday tasks, allowing for short development times  Extensible: Reusable code using modules and packages  Easy to write new modules in ‘C’.
  • 8. Comparison with other languages  Python code is typically 3-5 times shorter than equivalent Java code, it is often 5-10 times shorter than equivalent C++ code!  Anecdotal evidence suggests that one Python programmer can finish in two months what two C++ programmers can't complete in a year.  Python shines as a glue language, used to combine components written in C++. So, Python can increase productivity Reference: https://www.python.org/doc/essays/comparisons/
  • 9. Points to be noted  “Python is a scripting language" False. Python has been used as a scripting language, but it is also used to develop large stand-alone applications. Python is interpreted, thus slower than running native code  True, But not always  Python can be used to `glue' together native modules.  Libraries (Numpy,Scipy etc.)are often very efficient.  Dynamic typing is unsafe.  Python is strongly typed and well behaved.  It can deal with type errors at runtime.
  • 10. Use Cases/Applications  Application Development  Web Development  Scripting  Scientific Computing Success Stories: https://www.python.org/about/success/
  • 11. Use Cases/Applications  Google – Many components of search engine were written in Python  Yahoo - maps were developed using Python  RHEL – Installer developed using Python  NASA – Uses Python as the main scripting language
  • 12. The RedMonk Programming Language Rankings: 2015
  • 13. The RedMonk Programming Language Rankings..(Cont’d)
  • 14. Python in Big Data & Data Science http://www.kdnuggets.com/2015/05/r-vs-python-data- science.html
  • 15. Python- Pros and Cons  Pro: IPython Notebook or Jupyter The IPython Notebook makes it easier to work with Python and data. You can easily share notebooks with colleagues, without having them to install anything. This drastically reduces the overhead of organizing code, output and notes files. This will allow you to spend more time doing real work.  A general purpose language Python is a general purpose language that is easy and intuitive. This gives it a relatively flat learning curve, and it increases the speed at which you can write a program. In short, you need less time to code and you have more time to play around with it! Furthermore, the Python testing framework is a built-in, low- barrier-to-entry testing framework that encourages good test coverage. This guarantees your code is reusable and dependable.
  • 16. Pros & Cons (Cont’d)…..  Pro :A multi purpose language Python brings people with different backgrounds together. As a common, easy to understand language that is known by programmers and that can easily be learnt by statisticians, you can build a single tool that integrates with every part of your workflow.  Pro/Con: Visualizations Visualizations are an important criteria when choosing data analysis software. Although Python has some nice visualization libraries, such as Seaborn, Bokeh and Pygal, Matplotlib etc.  Con: Python is a challenger Python is a challenger to R. It does not offer an alternative to the hundreds of essential R packages, Although it‟s catching up.
  • 17. Versions Python2  Python2 – Very Stable (Python-2.7) – All may not support Python3  Current Release – 3.5.1 (Released on 21-12-2015)  Some major changes and clean-ups  Not backward compatible (cannot execute 2.x code)  V3.6 - Ongoing development