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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 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.
The Python language and the default Python interpreter are managed and maintained by the Python Software Foundation: http://www.python.org .
- 3.
See the IPython project web page, http://ipython.org , for more information and its official documentation.
- 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.
The Python function dir provides a similar feature.
- 6.
Which can, for example, be used with the standard Python interpreter to profile scripts by running python -m cProfile script.py.
- 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.
This web application is by default only accessible locally from the system where the notebook application was launched.
- 9.
The path/filename is relative to the notebook directory.
- 10.
The IPython nbconvert application uses the jinja2 template engine. See http://jinja.pocoo.org for more information and documentation its the syntax.
- 11.
- 12.
- 13.
- 14.
- 15.
- 16.
- 17.
Author information
Authors and Affiliations
Rights 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
DOI: https://doi.org/10.1007/978-1-4842-0553-2_1
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-0554-9
Online ISBN: 978-1-4842-0553-2
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)