This is Lite Plone Theme
You are here: Home News John M. Stewart: Python for Scientists

John M. Stewart: Python for Scientists

Retired DAMTP faculty member John Stewart sadly died this year in November. He was a UK pioneer in numerical relativity and you can read his obituary on the CTC webpages here.

Following his retirement in 2010, John wrote a book on the Python programming language entitled "Python for Scientists", published by Cambridge University Press. An extended version of the book is due to be published next year.

For those interested in Python, we give access here to two files.

Code samples include most of the code snippets, which are four or more lines long. They are organised by the section in the book in which they occur.

  • They are available in Jupyter notebook form, perhaps the most useful, at code.txt. You will need to relabel this file to "code.ipynb".
  • They are available as a PDF file from code.pdf
  •