Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Python scientific ecosystem

There are a lot of very good Python packages for sciences. The fundamental packages are in particular:

With IPython and Spyder, Python plus these fundamental scientific packages constitutes a very good alternative to Matlab, that is technically very similar (using the libraries Blas and Lapack). Matlab has a Just-In-Time (JIT) compiler so that Matlab code is generally faster than Python. However, we will see that Numpy is already quite efficient for standard operations and other Python tools (for example PyPy, Cython, Numba, Pythran, ...) can be used to optimize the code to reach the performance of optimized Matlab code.

The advantages of Python over Matlab are its open-source nature, its high polyvalency (and nicer syntax) and its huge open-source ecosystem: