Swipe to navigate through the chapters of this book
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.
Please log in to get access to this content
The Python language and the default Python interpreter are managed and maintained by the Python Software Foundation: http://www.python.org .
See the IPython project web page, http://ipython.org , for more information and its official documentation.
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.
The Python function dir provides a similar feature.
Which can, for example, be used with the standard Python interpreter to profile scripts by running python -m cProfile script.py.
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 .
This web application is by default only accessible locally from the system where the notebook application was launched.
The path/filename is relative to the notebook directory.
The IPython nbconvert application uses the jinja2 template engine. See http://jinja.pocoo.org for more information and documentation its the syntax.
- Introduction to Computing with Python
- Sequence number
- Chapter number
- Chapter 1