1.7 Python

Python is an object-oriented scripting language that was released publicly in 1991. It was developed by Guido van Rossum of the National Research Institute for Mathematics and Computer Science in Amsterdam.

Python has rapidly become one of the world’s most popular programming languages. It’s now particularly popular for educational and scientific computing,8 and it recently surpassed the programming language R as the most popular data-science programming language.9,10,11 Here are some reasons why Python is popular and everyone should consider learning it:12,13,14

Anaconda Python Distribution

We use the Anaconda Python distribution because it’s easy to install on Windows, macOS and Linux and supports the latest versions of Python (3.7 at the time of this writing), the IPython interpreter (introduced in Section 1.10.1) and Jupyter Notebooks (introduced in Section 1.10.3). Anaconda also includes other software packages and libraries commonly used in Python programming and data science, allowing students to focus on learning Python, computer science and data science, rather than software installation issues. The IPython interpreter23 has features that help students and professionals explore, discover and experiment with Python, the Python Standard Library and the extensive set of third-party libraries.

Zen of Python

We adhere to Tim Peters’ The Zen of Python, which summarizes Python creator Guido van Rossum’s design principles for the language. This list can be viewed in IPython with the command import this. The Zen of Python is defined in Python Enhancement Proposal (PEP) 20. “A PEP is a design document providing information to the Python community, or describing a new feature for Python or its processes or environment.”24

Self Check

  1. (Fill-In) The       summarizes Python creator Guido van Rossum’s design principles for the Python language.
    Answer: Zen of Python.

  2. (True/False) The Python language supports popular programming paradigms—procedural, functional, object-oriented and reflective.
    Answer: True.

  3. (True/False) R is most the popular data-science programming language.
    Answer: False. Python recently surpassed R as the most popular data-science programming language.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.115.120