The following pages outline an introduction to Python aimed at mathematicians. In particular, it should form the basis for a self-paced course for first year undergraduates in Mathematical Sciences at the University of Southampton.
The opening page, mostly introduces how to install the software, and how to think about the course.
The essential sections of the course are on
The next page introduces classes, which should at least be started to get the most out of the rest. We then have three important sections on
Finally, there are three "appendices" on
The PDF notes also contain a section introducing $\LaTeX$.
This material is hosted on GitHub.
There are solutions to all the exercises available.