June 2025
Intermediate to advanced
515 pages
17h 5m
English
For our first look at the capabilities and features of the module concept in Python, I first want to describe the five modules in a keyword-like manner. Instead of module, the terms library or software library are also commonly used. The capabilities of Python are best illustrated by using short sample programs. Of course, you don’t need understand the source code shown in this section yet. After all, understanding is what the other chapters are for.
The NumPy module (numerical Python) enables you to perform extensive numerical calculations. For example, you can solve linear systems of equations, even with complex numbers. Listing 1.1 shows a simple vector calculus program.
01 import numpy as np02 ...
Read now
Unlock full access