Skip to main content

Introduction to Computing with Python

  • Chapter
  • First Online:

Abstract

This book is about using Python for numerical computing. Python is a high-level, general-purpose interpreted programming language that is widely used in scientific computing and engineering. As a general-purpose language, Python was not specifically designed for numerical computing, but many of its characteristics make it well suited for this task. First and foremost, Python is well known for its clean and easy-to-read code syntax. Good code readability improves maintainability, which in general results in less bugs and better applications overall, but it also encourages rapid code development. This readability and expressiveness is essential in exploratory and interactive computing, which requires fast turnaround for testing various ideas and models.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    For example, MKL, the Math Kernel Library from Intel, https://software.intel.com/en-us/intel-mkl , or ATLAS, the Automatically Tuned Linear Algebra Software, available at http://math-atlas.sourceforge.net .

  2. 2.

    The Python language and the default Python interpreter are managed and maintained by the Python Software Foundation: http://www.python.org .

  3. 3.

    See the IPython project web page, http://ipython.org , for more information and its official documentation.

  4. 4.

    When %automagic is activated (type %automagic at the IPython prompt to toggle this feature), the % sign that precedes the IPython commands can be omitted, unless there is a name conflict with a Python variable or function. However, for clarity, the % signs are explicitly shown here.

  5. 5.

    The Python function dir provides a similar feature.

  6. 6.

    Which can, for example, be used with the standard Python interpreter to profile scripts by running python -m cProfile script.py.

  7. 7.

    Currently the IPython notebook project is in the process of restructuring the application into a Python agnostic tool, and the project is being renamed to Jupyter. To follow this development, see http://jupyter.org .

  8. 8.

    This web application is by default only accessible locally from the system where the notebook application was launched.

  9. 9.

    The path/filename is relative to the notebook directory.

  10. 10.

    The IPython nbconvert application uses the jinja2 template engine. See http://jinja.pocoo.org for more information and documentation its the syntax.

  11. 11.

    http://code.google.com/p/spyderlib .

  12. 12.

    http://www.eclipse.org .

  13. 13.

    http://pydev.org .

  14. 14.

    http://www.jetbrains.com/pycharm .

  15. 15.

    http://www.pylint.org .

  16. 16.

    http://github.com/pyflakes/pyflakes .

  17. 17.

    http://pep8.readthedocs.org .

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Robert Johansson

About this chapter

Cite this chapter

Johansson, R. (2015). Introduction to Computing with Python. In: Numerical Python. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0553-2_1

Download citation

Publish with us

Policies and ethics