These are the lecture notes I used to teach a 10-week Python Programming course to MSc (astro)physics students at the University of Hertfordshire.
You can see a compiled version of the notes on my website.
To edit the lectures, go to the lectures subdirectory and start the ipython notebook server:
ipython notebook
When you have finished editing the lectures, you can automatically generate static HTML files and slides from the ipython notebook files using:
python setup.py build
These course notes are licensed under the Attribution Non-Commercial Share-Alike Creative Commons License. For more information about the license, see the following page:
http://creativecommons.org/licenses/by-nc-sa/3.0/
This course is inspired by, and partially adapted from, an existing course called "Python: Programming for Scientists" by Thomas Robitaille, which is available under the same license here:
https://github.com/astrofrog/py4sci
In addition, some course material on scipy and sympy has been adapted from: