SlideShare ist ein Scribd-Unternehmen logo
1 von 22
INTRODUCTION TO
PYTHON
Presented By:
Kirti Verma
AP, CSE
LNCTE
Popular tools used in data science
• Data pre-processing and analysis
Python, R, Microsoft Excel, SAS, SPSS
• Data exploration and visualization
Tbleau, Qlikview, MicrosoftExcel
• Parallel and distributed computing in case of bigdata
Apache Spark, Apache Hadoop
Evolution of Python
• Python was developed by Guidovan Rossum in the late
eighties at the
• ‘National Research Institute for Mathematics and
Computer Science’ at Netherlands
• Python Editions
• Python 1.0
• Python 2.0
• Python 3.0 and many more
Python as a programming language
• Standard C Python interpreter is managed by “Python
Software Foundation”
• There are other interpreters namely JPython(Java), Iron
Python (C#), Stackless Python (C, used for parallelism),
PyPy (Python itself JIT compilation)
• Standard libraries are written in python itself
• High standards of readability
Advantages of using python
• Python has several features that make it wel lsuited for
data science
• Open source and community development
• Developed under Open Source Initiative license making it
free to use and distribute even commercially
• Syntax used is simple to understand and code
• Libraries designed for specific data science tasks
• Combines well with majority of the cloud platform service
providers
Coding environment
• A software program can be written using a terminal, a
command prompt (cmd), a text editor or through an
Integrated Development Environment (IDE)
• The program needs to be saved in a file with an
appropriate extension (.py for python, .mat for matlab,
etc...) and can be executed in corresponding environment
(Python, Matlab, etc…)
• Integrated Development Environment (IDE) is a software
product solely developed to support software
development in various or specific programming
language(s)
Coding environment
• Python 2.x support will be available till 2020
• Python 3.x is an enhanced version of 2.x and will only be
maintained from 3.6.x post 2020
• Install basic python version or use the online python
console as in https://www.python.org/
• Execute following commands and view the outputs in
terminal or command prompt
• •Basic print statement
• •Naming conventions for variables and functions,
operators
• •Conditional operations, looping statements (nested)
• •Function declaration and calling
• •Installing modules
Integrated development environment
(IDE)
• Software application consisting of a cohesive unit of tools
required for development
• Designed to simplify software development
• Utilities provided by IDEs include tools for managing,
compiling, deploying and debugging software
Coding environment-IDE
• An IDE usually comprises of
• ◦Source code editor
• ◦Compiler
• ◦Debugger
• ◦Additional features include syntax and error highlighting,
code completion
• Offers supports in building and executing the program
along with debugging the code from within the
environment
Coding environment-IDE
• Best IDEs provide version control features
• Eclipse + Py Dev, Sublime Text, Atom, GNU Emacs,
Vi/Vim, Visual Studio, Visual Studio Code are general
IDEs with python support
• Apart from these some of the python specific editors
include
• Pycharm,
• Jupyter,
• Spyder,
• Thonny
PyCharm
• Supported across Linux, MacOSX and Windowsplatforms
• Available as community (free open source) and
professional (paid) version
• Supports only Python
• Can be installed separately or through Anaconda
distribution
• Features include
• ◦Code editor provides syntax and error highlighting
• ◦Code completion and navigation
• ◦Unit testing
• ◦Debugger
• ◦Versioncontrol
Pycharm
Jupyter Notebook
• Web application that allows creation and manipulation of
documents called ‘notebook’
• Supported across Linux, MacOSX and Windowsplatforms
• Available as open source version
Jyputer Notebook
Jupyter Notebook
• Bundled with Anaconda distribution or can be installed
separately
• Supports Julia, Python, R and Scala
• Consists of ordered collection of input and output cells
that contain code, text, plots etc.
• Allows sharing of code and narrative text through output
formats like PDF, HTML etc.
• ◦Education and presentation tool
• Lack most of the features of a good IDE
Spyder
• Supported across Linux, Mac-OSX and Windows
platforms
• Available as open source version
• Can be installed separately or through Anaconda
distribution
• Developed for Python and specifically data science
• Features include
• ◦Code editor with robust syntax and error highlighting
• ◦Code completion and navigation
• ◦Debugger
• ◦Integrated document
• Interface similar to MATLAB and RStudio
Python for Data Science
17Spyder
Appearance of Spyder
Setting working directory
• There are three ways to set a working directory
• ◦Icon
• ◦Using library os
• ◦Using command cd
Setting working directory: Method 1
Introduction to python history and platforms
Introduction to python history and platforms

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Python programming
Python  programmingPython  programming
Python programming
 
Python programming | Fundamentals of Python programming
Python programming | Fundamentals of Python programming Python programming | Fundamentals of Python programming
Python programming | Fundamentals of Python programming
 
Python Tutorial Part 2
Python Tutorial Part 2Python Tutorial Part 2
Python Tutorial Part 2
 
Introduction to-python
Introduction to-pythonIntroduction to-python
Introduction to-python
 
Python - the basics
Python - the basicsPython - the basics
Python - the basics
 
Python ppt
Python pptPython ppt
Python ppt
 
Introduction To Python | Edureka
Introduction To Python | EdurekaIntroduction To Python | Edureka
Introduction To Python | Edureka
 
Beginning Python Programming
Beginning Python ProgrammingBeginning Python Programming
Beginning Python Programming
 
Python introduction
Python introductionPython introduction
Python introduction
 
Python Class | Python Programming | Python Tutorial | Edureka
Python Class | Python Programming | Python Tutorial | EdurekaPython Class | Python Programming | Python Tutorial | Edureka
Python Class | Python Programming | Python Tutorial | Edureka
 
Presentation on python
Presentation on pythonPresentation on python
Presentation on python
 
programming with python ppt
programming with python pptprogramming with python ppt
programming with python ppt
 
What is Python? | Edureka
What is Python? | EdurekaWhat is Python? | Edureka
What is Python? | Edureka
 
Overview of python 2019
Overview of python 2019Overview of python 2019
Overview of python 2019
 
Python tutorial
Python tutorialPython tutorial
Python tutorial
 
Python ppt
Python pptPython ppt
Python ppt
 
Introduction to python programming
Introduction to python programmingIntroduction to python programming
Introduction to python programming
 
Chapter 03 python libraries
Chapter 03 python librariesChapter 03 python libraries
Chapter 03 python libraries
 
Python final ppt
Python final pptPython final ppt
Python final ppt
 
Python and its Applications
Python and its ApplicationsPython and its Applications
Python and its Applications
 

Ähnlich wie Introduction to python history and platforms

Python quick guide1
Python quick guide1Python quick guide1
Python quick guide1
Kanchilug
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
Nikhil Kapoor
 

Ähnlich wie Introduction to python history and platforms (20)

Introduction to Python Programming
Introduction to Python ProgrammingIntroduction to Python Programming
Introduction to Python Programming
 
Introduction to Jupyter notebook and MS Azure Machine Learning Studio
Introduction to Jupyter notebook and MS Azure Machine Learning StudioIntroduction to Jupyter notebook and MS Azure Machine Learning Studio
Introduction to Jupyter notebook and MS Azure Machine Learning Studio
 
Introduction to Jupyter notebook and MS Azure Machine Learning Studio
Introduction to Jupyter notebook and MS Azure Machine Learning StudioIntroduction to Jupyter notebook and MS Azure Machine Learning Studio
Introduction to Jupyter notebook and MS Azure Machine Learning Studio
 
Python quick guide1
Python quick guide1Python quick guide1
Python quick guide1
 
Python Programming
Python ProgrammingPython Programming
Python Programming
 
Top 10 python ide
Top 10 python ideTop 10 python ide
Top 10 python ide
 
IPT 2.pptx
IPT 2.pptxIPT 2.pptx
IPT 2.pptx
 
Python programming
Python programmingPython programming
Python programming
 
Python Spyder IDE | Edureka
Python Spyder IDE | EdurekaPython Spyder IDE | Edureka
Python Spyder IDE | Edureka
 
Introduction to python for dummies
Introduction to python for dummiesIntroduction to python for dummies
Introduction to python for dummies
 
Exploring Five Lesser-Known Python Libraries
Exploring Five Lesser-Known Python LibrariesExploring Five Lesser-Known Python Libraries
Exploring Five Lesser-Known Python Libraries
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Python games
Python gamesPython games
Python games
 
Introduction to python
Introduction to python Introduction to python
Introduction to python
 
python.pptx
python.pptxpython.pptx
python.pptx
 
Python programming 2nd
Python programming 2ndPython programming 2nd
Python programming 2nd
 
Programming tools for developers
Programming tools for developersProgramming tools for developers
Programming tools for developers
 
python full stack course in hyderabad...
python full stack course in hyderabad...python full stack course in hyderabad...
python full stack course in hyderabad...
 
python full stack course in hyderabad...
python full stack course in hyderabad...python full stack course in hyderabad...
python full stack course in hyderabad...
 
Getting Started with Python
Getting Started with PythonGetting Started with Python
Getting Started with Python
 

Mehr von Kirti Verma

Mehr von Kirti Verma (20)

L-5 BCEProcess management.ppt
L-5 BCEProcess management.pptL-5 BCEProcess management.ppt
L-5 BCEProcess management.ppt
 
L-3 BCE OS FINAL.ppt
L-3 BCE OS FINAL.pptL-3 BCE OS FINAL.ppt
L-3 BCE OS FINAL.ppt
 
L-4 BCE Generations of Computers final.ppt
L-4 BCE Generations of Computers final.pptL-4 BCE Generations of Computers final.ppt
L-4 BCE Generations of Computers final.ppt
 
L-1 BCE computer fundamentals final kirti.ppt
L-1 BCE computer fundamentals final kirti.pptL-1 BCE computer fundamentals final kirti.ppt
L-1 BCE computer fundamentals final kirti.ppt
 
BCE L-4 Data Type In C++.ppt
BCE L-4 Data Type In C++.pptBCE L-4 Data Type In C++.ppt
BCE L-4 Data Type In C++.ppt
 
BCE L-3 overview of C++.ppt
BCE L-3 overview of C++.pptBCE L-3 overview of C++.ppt
BCE L-3 overview of C++.ppt
 
BCE L-2 Algorithms-and-Flowchart-ppt.ppt
BCE L-2 Algorithms-and-Flowchart-ppt.pptBCE L-2 Algorithms-and-Flowchart-ppt.ppt
BCE L-2 Algorithms-and-Flowchart-ppt.ppt
 
BCE L-1 Programmimg languages.pptx
BCE L-1  Programmimg languages.pptxBCE L-1  Programmimg languages.pptx
BCE L-1 Programmimg languages.pptx
 
BCE L-1 networking fundamentals 111.pptx
BCE L-1  networking fundamentals 111.pptxBCE L-1  networking fundamentals 111.pptx
BCE L-1 networking fundamentals 111.pptx
 
BCE L-2 e commerce.pptx
BCE L-2 e commerce.pptxBCE L-2 e commerce.pptx
BCE L-2 e commerce.pptx
 
BCE L-3omputer security Basics.pptx
BCE L-3omputer security Basics.pptxBCE L-3omputer security Basics.pptx
BCE L-3omputer security Basics.pptx
 
L 5 Numpy final ppt kirti.pptx
L 5 Numpy final ppt kirti.pptxL 5 Numpy final ppt kirti.pptx
L 5 Numpy final ppt kirti.pptx
 
L 2 Introduction to Data science final kirti.pptx
L 2 Introduction to Data science final kirti.pptxL 2 Introduction to Data science final kirti.pptx
L 2 Introduction to Data science final kirti.pptx
 
Pandas Dataframe reading data Kirti final.pptx
Pandas Dataframe reading data  Kirti final.pptxPandas Dataframe reading data  Kirti final.pptx
Pandas Dataframe reading data Kirti final.pptx
 
L 8 introduction to machine learning final kirti.pptx
L 8 introduction to machine learning final kirti.pptxL 8 introduction to machine learning final kirti.pptx
L 8 introduction to machine learning final kirti.pptx
 
L 6.1 complete scikit libraray.pptx
L 6.1 complete scikit libraray.pptxL 6.1 complete scikit libraray.pptx
L 6.1 complete scikit libraray.pptx
 
L 7Complete Machine learning.pptx
L 7Complete Machine learning.pptxL 7Complete Machine learning.pptx
L 7Complete Machine learning.pptx
 
Informed Search Techniques new kirti L 8.pptx
Informed Search Techniques new kirti L 8.pptxInformed Search Techniques new kirti L 8.pptx
Informed Search Techniques new kirti L 8.pptx
 
Production System l 10.pptx
Production System l 10.pptxProduction System l 10.pptx
Production System l 10.pptx
 
Breath first Search and Depth first search
Breath first Search and Depth first searchBreath first Search and Depth first search
Breath first Search and Depth first search
 

Kürzlich hochgeladen

Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
panagenda
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
FIDO Alliance
 

Kürzlich hochgeladen (20)

ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
Vector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptxVector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptx
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024
 
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The InsideCollecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 

Introduction to python history and platforms

  • 2. Popular tools used in data science • Data pre-processing and analysis Python, R, Microsoft Excel, SAS, SPSS • Data exploration and visualization Tbleau, Qlikview, MicrosoftExcel • Parallel and distributed computing in case of bigdata Apache Spark, Apache Hadoop
  • 3. Evolution of Python • Python was developed by Guidovan Rossum in the late eighties at the • ‘National Research Institute for Mathematics and Computer Science’ at Netherlands • Python Editions • Python 1.0 • Python 2.0 • Python 3.0 and many more
  • 4. Python as a programming language • Standard C Python interpreter is managed by “Python Software Foundation” • There are other interpreters namely JPython(Java), Iron Python (C#), Stackless Python (C, used for parallelism), PyPy (Python itself JIT compilation) • Standard libraries are written in python itself • High standards of readability
  • 5. Advantages of using python • Python has several features that make it wel lsuited for data science • Open source and community development • Developed under Open Source Initiative license making it free to use and distribute even commercially • Syntax used is simple to understand and code • Libraries designed for specific data science tasks • Combines well with majority of the cloud platform service providers
  • 6. Coding environment • A software program can be written using a terminal, a command prompt (cmd), a text editor or through an Integrated Development Environment (IDE) • The program needs to be saved in a file with an appropriate extension (.py for python, .mat for matlab, etc...) and can be executed in corresponding environment (Python, Matlab, etc…) • Integrated Development Environment (IDE) is a software product solely developed to support software development in various or specific programming language(s)
  • 7. Coding environment • Python 2.x support will be available till 2020 • Python 3.x is an enhanced version of 2.x and will only be maintained from 3.6.x post 2020 • Install basic python version or use the online python console as in https://www.python.org/ • Execute following commands and view the outputs in terminal or command prompt • •Basic print statement • •Naming conventions for variables and functions, operators • •Conditional operations, looping statements (nested) • •Function declaration and calling • •Installing modules
  • 8. Integrated development environment (IDE) • Software application consisting of a cohesive unit of tools required for development • Designed to simplify software development • Utilities provided by IDEs include tools for managing, compiling, deploying and debugging software
  • 9. Coding environment-IDE • An IDE usually comprises of • ◦Source code editor • ◦Compiler • ◦Debugger • ◦Additional features include syntax and error highlighting, code completion • Offers supports in building and executing the program along with debugging the code from within the environment
  • 10. Coding environment-IDE • Best IDEs provide version control features • Eclipse + Py Dev, Sublime Text, Atom, GNU Emacs, Vi/Vim, Visual Studio, Visual Studio Code are general IDEs with python support • Apart from these some of the python specific editors include • Pycharm, • Jupyter, • Spyder, • Thonny
  • 11. PyCharm • Supported across Linux, MacOSX and Windowsplatforms • Available as community (free open source) and professional (paid) version • Supports only Python • Can be installed separately or through Anaconda distribution • Features include • ◦Code editor provides syntax and error highlighting • ◦Code completion and navigation • ◦Unit testing • ◦Debugger • ◦Versioncontrol
  • 13. Jupyter Notebook • Web application that allows creation and manipulation of documents called ‘notebook’ • Supported across Linux, MacOSX and Windowsplatforms • Available as open source version
  • 15. Jupyter Notebook • Bundled with Anaconda distribution or can be installed separately • Supports Julia, Python, R and Scala • Consists of ordered collection of input and output cells that contain code, text, plots etc. • Allows sharing of code and narrative text through output formats like PDF, HTML etc. • ◦Education and presentation tool • Lack most of the features of a good IDE
  • 16. Spyder • Supported across Linux, Mac-OSX and Windows platforms • Available as open source version • Can be installed separately or through Anaconda distribution • Developed for Python and specifically data science • Features include • ◦Code editor with robust syntax and error highlighting • ◦Code completion and navigation • ◦Debugger • ◦Integrated document • Interface similar to MATLAB and RStudio
  • 17. Python for Data Science 17Spyder
  • 19. Setting working directory • There are three ways to set a working directory • ◦Icon • ◦Using library os • ◦Using command cd