December 2016
Intermediate to advanced
332 pages
6h 2m
English
In Python, a module is simply a file containing classes and functions. By importing the file in your session or script, the functions and classes become usable.
Python comes with many different libraries by default. You may also want to install more of those for specific purposes, such as optimization, plotting, reading/writing file formats, image handling, and so on. NumPy and SciPy are two important examples of such libraries, matplotlib for plotting is another one. At the end of this chapter, we will list some useful libraries.
To use a library, you may either:
from numpy import array, vander
from numpy import *
Read now
Unlock full access