SlideShare a Scribd company logo
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

More Related Content

What's hot

POWER OF PYTHON PROGRAMMING LANGUAGE
POWER OF PYTHON PROGRAMMING LANGUAGE POWER OF PYTHON PROGRAMMING LANGUAGE
POWER OF PYTHON PROGRAMMING LANGUAGE
teachersduniya.com
 
C++ vs python
C++ vs pythonC++ vs python
C++ vs python
AbdulhameedMandili
 
Python programming
Python programmingPython programming
Python programming
Megha 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 Engineers
Boey Pak Cheong
 
Python basic
Python basicPython basic
Python basic
radhikaadroja
 
Python 101 for the .NET Developer
Python 101 for the .NET DeveloperPython 101 for the .NET Developer
Python 101 for the .NET Developer
Sarah Dutkiewicz
 
Python for the Mobile and Web
Python for the Mobile and WebPython for the Mobile and Web
Python for the Mobile and Web
Derek Kiong
 
Introduction to python programming
Introduction to python programmingIntroduction to python programming
Introduction to python programmingKiran Vadakkath
 
Basics of python
Basics of pythonBasics of python
Basics of python
SurjeetSinghSurjeetS
 
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 Python
IHTMINSTITUTE
 
Cmpe202 01 Research
Cmpe202 01 ResearchCmpe202 01 Research
Cmpe202 01 Research
vladimirkorshak
 
introduction to Python (for beginners)
introduction to Python (for beginners)introduction to Python (for beginners)
introduction to Python (for beginners)
guobichrng
 
Lets learn Python !
Lets learn Python !Lets learn Python !
Lets learn Python !
Kiran Gangadharan
 
Python - An Introduction
Python - An IntroductionPython - An Introduction
Python - An Introduction
Swarit Wadhe
 
Introduction to python
 Introduction to python Introduction to python
Introduction to python
Learnbay Datascience
 
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
Pro Guide
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
Agung Wahyudi
 
Python
PythonPython
Python
PythonPython

What's hot (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
 

Viewers also liked

Data Management
Data Management Data Management
Data Management
Biswajeet Dasmajumdar
 
santiago soto chacon 8-3
santiago soto chacon 8-3  santiago soto chacon 8-3
santiago soto chacon 8-3
Santiago Soto Chacon
 
Javainnovation
JavainnovationJavainnovation
Javainnovation
trupti Deshmukh
 
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
 
One sheet summary 260000
One sheet summary   260000One 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
BenLayde0
 
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
 
Труды Буре Р. С."Сердце мое принадлежит детям".
Труды Буре Р. С."Сердце мое принадлежит детям". Труды Буре Р. С."Сердце мое принадлежит детям".

Viewers also liked (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
 
Труды Буре Р. С."Сердце мое принадлежит детям".
Труды Буре Р. С."Сердце мое принадлежит детям". Труды Буре Р. С."Сердце мое принадлежит детям".
Труды Буре Р. С."Сердце мое принадлежит детям".
 
Труды Сластенина В.А.
Труды Сластенина В.А.Труды Сластенина В.А.
Труды Сластенина В.А.
 
Труды Пурышевой Н. С.
Труды Пурышевой Н. С. Труды Пурышевой Н. С.
Труды Пурышевой Н. С.
 
Труды Марцинковской Т. Д.
Труды Марцинковской Т. Д.Труды Марцинковской Т. Д.
Труды Марцинковской Т. Д.
 

Similar to Introduction To Python

Research paper on python by Rj
Research paper on python by RjResearch paper on python by Rj
Research paper on python by Rj
Shree M.L.Kakadiya MCA mahila college, Amreli
 
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
IRJET Journal
 
PYTHON TUTORIALS.pptx
PYTHON TUTORIALS.pptxPYTHON TUTORIALS.pptx
PYTHON TUTORIALS.pptx
EzatIlman1
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
DrMohammed Qassim
 
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
Kavitha713564
 
Python Programming and ApplicationsUnit-1.docx
Python Programming and ApplicationsUnit-1.docxPython Programming and ApplicationsUnit-1.docx
Python Programming and ApplicationsUnit-1.docx
Manohar k
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
AnirudhaGaikwad4
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
hemantmohite6
 
INTRODUCTION-TO-PYTHON
INTRODUCTION-TO-PYTHONINTRODUCTION-TO-PYTHON
INTRODUCTION-TO-PYTHON
RuchiNagar3
 
Basic Python Introduction Lecture 1.pptx
Basic Python Introduction Lecture 1.pptxBasic Python Introduction Lecture 1.pptx
Basic Python Introduction Lecture 1.pptx
Aditya 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 Engineering
Rushikesh 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 & Tech
Ramanamurthy 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_.ppt
Techinventive Software
 
session5-Getting stated with Python.pdf
session5-Getting stated with Python.pdfsession5-Getting stated with Python.pdf
session5-Getting stated with Python.pdf
AyushDutta32
 
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
Mindfire LLC
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
SudhanshiBakre1
 
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
QA TrainingHub
 
Pyhton-1a-Basics.pdf
Pyhton-1a-Basics.pdfPyhton-1a-Basics.pdf
Pyhton-1a-Basics.pdf
Mattupallipardhu
 
python unit2.pptx
python unit2.pptxpython unit2.pptx
python unit2.pptx
GEETHAS668001
 
637b4894085c4_ppt.pptx
637b4894085c4_ppt.pptx637b4894085c4_ppt.pptx
637b4894085c4_ppt.pptx
Arjun123Bagri
 

Similar to 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
 

Recently uploaded

Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 

Recently uploaded (20)

Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 

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