Teaching materials in python at the @Ensae
Switch branches/tags
Clone or download



Build status Build Status Windows https://circleci.com/gh/sdpython/ensae_teaching_cs/tree/master.svg?style=svg MIT License https://codecov.io/github/sdpython/ensae_teaching_cs/coverage.svg?branch=master GitHub Issues Waffle Codacy Badge Notebook Coverage

This page gives access to the content of practical sessions I give at the ENSAE. They are based on Python. The project is hosted on GitHub can be modified by sending me pull requests:


Started in 2014/04. Contributors: Xavier Dupré, Anne Muller, Elodie Royant, Matthieu Bizien, Nicolas Rousset, Jérémie Jakubowicz, Gilles Drigout (streaming), Gaël Varoquaux, ENSAE's students.


7zip, Anaconda, 2 and 3 (to be installed on the same hard drive than the Jenkins build folder), Chrome, CMake (to build XGBoost), Graphviz, Git, GitHub, Java 64 bit (for Spark), Jenkins (CI), Miktex Basic Installer 64 bit (formula in the documentation) (check the option to silently install new packages), Pandoc (documentation), Python 3.6, 64 bit (do not add the interpreter on the default PATH), R 3.2.2, Scite, mingw-w64, Visual Studio 2015 Community Edition (check C++, C#, Python, CLang) (Cython).

You can install the necessary modules with pymyinstall and type pymy_install and then remove the modules being tested (such as this one). Jenkins requires a few extensions: Last Console Output, Next Executions, Text File. For Jupyter:

pip install widgetsnbextension
jupyter nbextension enable --py --sys-prefix widgetsnbextension

A local PyPi server needs to be installed:

pypi-server.exe -u -p 8067 --disable-fallback ..\..\local_pypi\local_pypi_server

If some Python scripts use keyring to retrieve passwords, the Jenkins service needs to authentify. On Windows, it goes through services.msc.