KEMBAR78
Why Python Should Be Your First Programming Language | PDF
Why Python Should Be Your First Programming Language
For Queries:
Post on Twitter @edurekaIN: #askEdureka
Post on Facebook /edurekaIN
For more details please contact us:
US : 1800 275 9730 (toll free)
INDIA : +91 88808 62004
Email Us : webinars@edureka.co
View Mastering Python course details at http://www.edureka.co/python
Slide 2 www.edureka.co/python
At the end of this module, you will be able to understand:
Objectives
 Python’s Short Learning Curve
 Duck Type Programming Language
 Python Features
 Python For Analytics
 Big Brands Using Python
 Python Job Trend
Slide 3 www.edureka.co/python
Short Learning Curve
Slide 4 www.edureka.co/python
Easy to Learn
 Python is a great language for the beginner programmers since it is easy-to-learn and easy-to-maintain.
 Very Readable
Slide 5 www.edureka.co/python
 Here’s an example of how easy and readable Python is.
Hello World in C++
#include stdout
int main()
{
std::cout << "Hello, world!n";
}
Hello world in Java
class HelloWorldApp
{
public static void main(String[] args)
{
System.out.println("Hello World!");
}
}
Python Hello World
Slide 6 www.edureka.co/python
 Here’s an example of how easy and readable Python is.
Hello World in C++
#include stdout
int main()
{
std::cout << "Hello, world!n";
}
Hello world in Java
class HelloWorldApp
{
public static void main(String[] args)
{
System.out.println("Hello World!");
}
}
Python Hello World
Hello World in Python
print("Hello, world!")
Slide 7 www.edureka.co/python
No Curly Braces
 Focus on learning programming concepts and paradigms rather than wasting time in understanding syntax
 You don’t have to worry about curly braces in Python
{ }
Slide 8 www.edureka.co/python
Easy Setup
Slide 9 www.edureka.co/python
Easy Setup
Very Minimal Setup
 You don't need to learn a build system, IDE, special text editor, or anything else to start using python
- a command prompt, the interactive editor, and a simple text editor, are all you need
Slide 10 www.edureka.co/python
Portability of Python
Python’s biggest strength is that the bulk of it’s library is portable.
Supports GUI Programming and can be used to create Applications portable on Mac, Windows and Unix X-Windows
system.
Slide 11 www.edureka.co/python
Python Features
Slide 12 www.edureka.co/python
YOU’RE FLYING!
HOW??
PYTHON
Language Features
Slide 13 www.edureka.co/python
Dynamic
Interpreted
Language Features
YOU’RE FLYING!
HOW??
PYTHON
Highly
Readable
Object-
oriented Interactive
Functional
Slide 14 www.edureka.co/python
Duck Type Programming Language
 In duck typing, a programmer is
only concerned with ensuring that
objects behave as demanded of
them in a given context, rather than
ensuring that they are of a specific
type.
 Python passes Duck test.
Reference: https://coronalabs.com
Slide 15 www.edureka.co/python
With libraries like PyDoop and
SciPy, it’s a dream come true
for Big Data Analytics
Slide 16 www.edureka.co/python
PyDoop – Hadoop with Python
 PyDoop package provides a Python API for Hadoop MapReduce and
HDFS
 PyDoop has several advantages over Hadoop’s built-in solutions for
Python programming, i.e., Hadoop Streaming and Jython
 One of the biggest advantage of PyDoop is it’s HDFS API. This
allows you to connect to an HDFS installation, read and write files, and
get information on files, directories and global file system properties
 The MapReduce API of PyDoop allows you to solve many complex
problems with minimal programming efforts. Advance MapReduce
concepts such as ‘Counters’ and ‘Record Readers’ can be implemented
in Python using PyDoop
Python can be used to write Hadoop MapReduce programs and applications to access HDFS API for Hadoop with
PyDoop package
Slide 17 www.edureka.co/python
Demo: Python NLTK on Hadoop
Leveraging Analytical power of Python on Big Data Set. (MR + NLTK)
Perform stop word removal using Map Reduce.
Slide 18 www.edureka.co/python
Python and Data Science
 Python is an excellent choice for Data
Scientist to do his day-to-day activities as it
provides libraries to do all these things
 Python has a diverse range of open source
libraries for just about everything that a
Data Scientist does in his day-to-day work
 Python and most of its libraries are both
open source and free
The day-to-day tasks of a data scientist involves many interrelated but different activities such as accessing and
manipulating data, computing statistics and , creating visual reports on that data, building predictive and
explanatory models, evaluating these models on additional data, integrating models into production systems, etc.
Slide 19 www.edureka.co/python
SciPy.org
SciPy (pronounced “Sigh Pie”) is a Python-based ecosystem of open-source software for mathematics, science, and
engineering.
NumPy
Base N-dimensional
array package
IPython
Enhanced Interactive
Console
SciPy library
Base N-dimensional
array package
Sympy
Symbolic mathematics
Matplotlib
Comprehensive 2D
Plotting
pandas
Data structures
and analysis
www.edureka.in/hadoopSlide 20
Python’s Popularity
Slide 21 www.edureka.co/python
Big Brands Using Python
» Dropbox web-based file hosting service is
implemented using Python
» Both the Dropbox server (running in the cloud) and
desktop client software are primarily written
in Python.
» Yahoo acquired Four11, whose address and
mapping lookup services were implemented in
Python.
» Yahoo Maps uses Python.
» Many components of the Google spider and search
engine are written in Python.
» YouTube is originally written in Python and mysql.
Reference: http://en.wikipedia.org/wiki/List_of_Python_software
Slide 22 www.edureka.co/python
Big Brands Using Python
» Zope Corporation has developed Blue Bream (a
powerful Web application server) using Python
that's available as free software.
- http://bluebream.zope.org/
» Ultraseek Server, a commercial search engine
product, is implemented as an elaborate multi-
threaded Python program.
» The program contains over 11,000 lines of Python
code, and the user interface is implemented with
over 17,000 lines of Python-scripted HTML
templates.
» Shopzilla is a family of comparison shopping sites.
» Shopzilla uses Python for configuration
management and deployment, automated testing
and internal tool development.
» YUM, a package management utility for RPM-
compatible Linux operating systems is written in
Python.
Reference: http://en.wikipedia.org/wiki/List_of_Python_software
Slide 23 www.edureka.co/python
Growing Interest in Python
Slide 24 www.edureka.co/python
Hot Job Trend
Slide 25 www.edureka.co/python
Python Job Trend Comparison
Questions
Slide 26 www.edureka.co/pythonTwitter @edurekaIN, Facebook /edurekaIN, use #askEdureka for Questions
Slide 27 Course Url

Why Python Should Be Your First Programming Language

  • 1.
    Why Python ShouldBe Your First Programming Language For Queries: Post on Twitter @edurekaIN: #askEdureka Post on Facebook /edurekaIN For more details please contact us: US : 1800 275 9730 (toll free) INDIA : +91 88808 62004 Email Us : webinars@edureka.co View Mastering Python course details at http://www.edureka.co/python
  • 2.
    Slide 2 www.edureka.co/python Atthe end of this module, you will be able to understand: Objectives  Python’s Short Learning Curve  Duck Type Programming Language  Python Features  Python For Analytics  Big Brands Using Python  Python Job Trend
  • 3.
  • 4.
    Slide 4 www.edureka.co/python Easyto Learn  Python is a great language for the beginner programmers since it is easy-to-learn and easy-to-maintain.  Very Readable
  • 5.
    Slide 5 www.edureka.co/python Here’s an example of how easy and readable Python is. Hello World in C++ #include stdout int main() { std::cout << "Hello, world!n"; } Hello world in Java class HelloWorldApp { public static void main(String[] args) { System.out.println("Hello World!"); } } Python Hello World
  • 6.
    Slide 6 www.edureka.co/python Here’s an example of how easy and readable Python is. Hello World in C++ #include stdout int main() { std::cout << "Hello, world!n"; } Hello world in Java class HelloWorldApp { public static void main(String[] args) { System.out.println("Hello World!"); } } Python Hello World Hello World in Python print("Hello, world!")
  • 7.
    Slide 7 www.edureka.co/python NoCurly Braces  Focus on learning programming concepts and paradigms rather than wasting time in understanding syntax  You don’t have to worry about curly braces in Python { }
  • 8.
  • 9.
    Slide 9 www.edureka.co/python EasySetup Very Minimal Setup  You don't need to learn a build system, IDE, special text editor, or anything else to start using python - a command prompt, the interactive editor, and a simple text editor, are all you need
  • 10.
    Slide 10 www.edureka.co/python Portabilityof Python Python’s biggest strength is that the bulk of it’s library is portable. Supports GUI Programming and can be used to create Applications portable on Mac, Windows and Unix X-Windows system.
  • 11.
  • 12.
    Slide 12 www.edureka.co/python YOU’REFLYING! HOW?? PYTHON Language Features
  • 13.
    Slide 13 www.edureka.co/python Dynamic Interpreted LanguageFeatures YOU’RE FLYING! HOW?? PYTHON Highly Readable Object- oriented Interactive Functional
  • 14.
    Slide 14 www.edureka.co/python DuckType Programming Language  In duck typing, a programmer is only concerned with ensuring that objects behave as demanded of them in a given context, rather than ensuring that they are of a specific type.  Python passes Duck test. Reference: https://coronalabs.com
  • 15.
    Slide 15 www.edureka.co/python Withlibraries like PyDoop and SciPy, it’s a dream come true for Big Data Analytics
  • 16.
    Slide 16 www.edureka.co/python PyDoop– Hadoop with Python  PyDoop package provides a Python API for Hadoop MapReduce and HDFS  PyDoop has several advantages over Hadoop’s built-in solutions for Python programming, i.e., Hadoop Streaming and Jython  One of the biggest advantage of PyDoop is it’s HDFS API. This allows you to connect to an HDFS installation, read and write files, and get information on files, directories and global file system properties  The MapReduce API of PyDoop allows you to solve many complex problems with minimal programming efforts. Advance MapReduce concepts such as ‘Counters’ and ‘Record Readers’ can be implemented in Python using PyDoop Python can be used to write Hadoop MapReduce programs and applications to access HDFS API for Hadoop with PyDoop package
  • 17.
    Slide 17 www.edureka.co/python Demo:Python NLTK on Hadoop Leveraging Analytical power of Python on Big Data Set. (MR + NLTK) Perform stop word removal using Map Reduce.
  • 18.
    Slide 18 www.edureka.co/python Pythonand Data Science  Python is an excellent choice for Data Scientist to do his day-to-day activities as it provides libraries to do all these things  Python has a diverse range of open source libraries for just about everything that a Data Scientist does in his day-to-day work  Python and most of its libraries are both open source and free The day-to-day tasks of a data scientist involves many interrelated but different activities such as accessing and manipulating data, computing statistics and , creating visual reports on that data, building predictive and explanatory models, evaluating these models on additional data, integrating models into production systems, etc.
  • 19.
    Slide 19 www.edureka.co/python SciPy.org SciPy(pronounced “Sigh Pie”) is a Python-based ecosystem of open-source software for mathematics, science, and engineering. NumPy Base N-dimensional array package IPython Enhanced Interactive Console SciPy library Base N-dimensional array package Sympy Symbolic mathematics Matplotlib Comprehensive 2D Plotting pandas Data structures and analysis
  • 20.
  • 21.
    Slide 21 www.edureka.co/python BigBrands Using Python » Dropbox web-based file hosting service is implemented using Python » Both the Dropbox server (running in the cloud) and desktop client software are primarily written in Python. » Yahoo acquired Four11, whose address and mapping lookup services were implemented in Python. » Yahoo Maps uses Python. » Many components of the Google spider and search engine are written in Python. » YouTube is originally written in Python and mysql. Reference: http://en.wikipedia.org/wiki/List_of_Python_software
  • 22.
    Slide 22 www.edureka.co/python BigBrands Using Python » Zope Corporation has developed Blue Bream (a powerful Web application server) using Python that's available as free software. - http://bluebream.zope.org/ » Ultraseek Server, a commercial search engine product, is implemented as an elaborate multi- threaded Python program. » The program contains over 11,000 lines of Python code, and the user interface is implemented with over 17,000 lines of Python-scripted HTML templates. » Shopzilla is a family of comparison shopping sites. » Shopzilla uses Python for configuration management and deployment, automated testing and internal tool development. » YUM, a package management utility for RPM- compatible Linux operating systems is written in Python. Reference: http://en.wikipedia.org/wiki/List_of_Python_software
  • 23.
  • 24.
  • 25.
  • 26.
    Questions Slide 26 www.edureka.co/pythonTwitter@edurekaIN, Facebook /edurekaIN, use #askEdureka for Questions
  • 27.