Skip to main content

Introduction to Computing with Python

  • Chapter
  • First Online:
Numerical Python

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 fewer bugs and better applications overall, but it also enables rapid code development. This readability and expressiveness are 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 to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    For example, MKL, the Math Kernel Library from Intel, https://software.intel.com/en-us/intel-mkl ; openBLAS, https://www.openblas.net ; 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.

    For more information about Jupyter, 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.

    For more information about how to create interactive applications using Jupyter and IPython widgets, see the documentation for the ipywidgets library https://ipywidgets.readthedocs.io/en/latest .

  11. 11.

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

  12. 12.

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

  13. 13.

    http://www.eclipse.org

  14. 14.

    http://pydev.org

  15. 15.

    http://www.jetbrains.com/pycharm

  16. 16.

    https://atom.io

  17. 17.

    http://www.pylint.org

  18. 18.

    http://github.com/pyflakes/pyflakes

  19. 19.

    http://pep8.readthedocs.org

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Robert Johansson

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

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

Download citation

Publish with us

Policies and ethics