0% found this document useful (0 votes)
1 views23 pages

Lec 1 Introduction to Python

Uploaded by

hogaalex9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views23 pages

Lec 1 Introduction to Python

Uploaded by

hogaalex9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 23

Introduction to Python

In this lecture 2

History of Python
Python IDEs
3
Introduction
Python is a popular HLL used for various applcations
Simple Syntax
Free and Open Source
Cross Platform portability
OOP Supportive (classes, objects, inheritance)
Extensive standard library
GUI Supportive
Vibrant Applications
4
Evolution of Python
Python was developed by Guido van Rossum in
the late eighties at the ‘National Research
Institute for Mathematics and Computer
Science’ at Netherlands
Python Editions
◦ Python 1.0-1991,
◦ Python 2.0- 2000
◦ Python 3.0 - 2008 (Python 3.7 –
latest)
5
Advantages of using python
Python has several features that make it well
suited for data science

Open source and community development


◦ Developed under Open Source Initiative approved
license making it free to use and distribute even
commercially
6
Advantages of using python
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
7
Integrated development environments (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
8
Features of IDE
IDE should centralize three key tools that
form the crux of software development
◦ Source code editor
◦ Compiler
◦ Debugger
Additional features
◦ Syntax and error highlighting
◦ Code completion
◦ Version control
9
Commonly used IDEs

Spyder
PyCharm
Jupyter
Notebook
Atom
Spyder
Supported across Linux, Mac OS X and Windows
platforms
Available as open source version
Bundled with Anaconda distribution which
comes with all Python libraries
Developed for Python and specifically data
science
Spyder

11
12
Spyder
Features include
◦ Code editor with robust syntax and error
highlighting
◦ Code completion and navigation
◦ Debugger
◦ Integrated document

Interface similar to MATLAB and RStudio


13
PyCharm
Supported across Linux, Mac OS X and Windows
platforms
Available as community (free open source) and
professional (paid) version
Supports only Python
Bundled with Anaconda distribution which comes
with all Python libraries
◦ Can also be installed separately
PyCharm

14
15
PyCharm
Features include
◦Code editor provides syntax and error highlighting
◦Code completion and navigation
◦Unit testing
◦Debugger
◦Version control
17
Jupyter Notebook

Source-https://jupyter.org/
18
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. Source-https://jupyter.org/
19
Jupyter Notebook
Allows sharing of code and
narrative text through
output formats like PDF,
HTML etc.
◦ Educationand presentation
tool
Lacks most of the features
of a good IDE Source-https://jupyter.org/
Ato m
Open source text and source code editor
Supported across Linux, Mac OS X and Windows
platforms
Supports Python, PHP, Java etc.
Well suited for developers
Enables users to install plug ins or packages
◦ Packages can be installed for code completion,
debugging

2
0
Atom

https://atom.io/
22
How to choose the best IDE?
Requirements
Working with different
IDEs helps us understand
our own requirement
In this course, Spyder will
be used
2
3
Summary
Popular tools used data science
Evolution of Python
Integrated development
environment
◦ Spyder
◦ PyCharm
◦ Jupyter Notebook
◦ Atom
THANK
YOU

You might also like