Advanced Python

This is a short collection of lectures on Python features. You should either have visited EiP or Python für Datenanalyse. This work is based on the initial version of Justus Henneberg, Programming for Quantitative Economics written by Thomas J. Sargent and John Stachurski and The Python Tutorial.

Blended Learning

This course uses a blended learning approach. For each day you should prepare by reading the corresponding sections (so to prepare for tuesday you work on the sections in chapter „TUESDAY“). Some sections have assignments where you can test the things you learned. Additionally there are assignments (marked with a 🧑‍🏫) which will be worked on together.

Tip

Note any questions you get when working on the sections. We will discuss these at the early meeting.

Note

This book is work in progress. Not all assignments are translated.

By clicking on „Open in JupyterHub“ you can try the code in your browser without installing anything.

Warning

requests can only be used on uni-mainz.de or rlp.net addresses. Download the notebook and execute it locally to try requests with other websites.

Note

If you find an error or want to give feedback, please use the „open Issue“ button.

Tip

Experiment with the executable cells and especially with the assignment. If you notice something unexpected, note it and ask about it in the next meeting.