Please see the official course website for 2020, and also the more recent course website 2023 with links to slides, videos (of the lectures and the tutorials), and summaries of the lecture content. You can find more detailed descriptions of the code there. Also, please note that notebooks marked with "new" supersede older versions (but those older versions are left for reference).
Usually, there is both a jupyter notebook and the pure python code extracted from the notebook (in case you do not like to use jupyter).
Note: All the code except for the few cases that include code by other people (like tSNE and MNIST; always clearly marked) is hereby provided under the terms of the MIT license (earlier, this was Attribution-ShareAlike 4.0 International (CC BY-SA 4.0), pick that if you prefer).