Please note that there is an updated version of the material at Writing games with Python and PsychoPy.
Materials and exercises for 'Python for social and experimental psychology' seminar. See the knitted book at alexander-pastukhov.github.io/python-for-experimental-psychology.