Lecture notes for "Assembly of ecological communities: some theoretical explorations" Stefano Allesina, December 2020. For an html version of the lecture notes, go to: https://stefanoallesina.github.io/ICTP_Winter_School/