Python3
Python3
2 Python Packages
With Python you don't get so much out of the box. Instead of having all of
its functionality built into its core, you need to install di_erent packages for
di_erent topics.
This approach has advantages and disadvantages. An disadvantage is that you
need to install these packages separately and then later import these modules
in your code.
This is also typical approach for open source software, because everybody can
create their own Python packages and distribute them. In that way you also
_nd Python packages for almost everything, from Scienti_c Computing to Web
Development.
19
These packages need to be downloaded and installed separately, or you choose
to use, e.g., a distribution package like Anaconda, where you typically get the
packages you need for scienti_c computing. With Anaconda you typically get
the same features as with MATLAB.
Lots of Python packages exists, depending on what you are going to solve.
We have Python packages for Desktop GUI Development, Database Develop-
ment, Web Development, Software Development, etc.
See an overview of Applications for Python:
https://www.python.org/about/apps/
See also the Python Package Index (PyPI) web site:
https://pypi.org
Here you can search for, download and install many hundreds Python Packages
within di_erent topics and applications. You can also make your own Python
Packages and distribute them here.
2.2.1 Python Packages for Science and Numerical Com-
putations
Some important Python Packages for Science and Numerical Computations are:
_ NumPy - NumPy is the fundamental package for scienti_c computing
with Python [9]
_ SciPy - SciPy is a free and open-source Python library used for scienti_c
computing and technical computing. SciPy contains modules for optimiza-
tion, linear algebra, integration, interpolation, special functions, FFT, sig-
nal and image processing, ODE solvers and other tasks common in science
and engineering. [9]
_ Matplotlib - Matplotlib is a Python 2D plotting library. [10]
_ Pandas - Pandas Python Data Analysis Library [11]
These packages need to be downloaded and installed separately, or you choose
to use, e.g., a distribution package like Anaconda, where you typically get the
packages you need for scienti_c computing. With Anaconda you typically get
the same features as with MATLAB.