HSMA - Programming in Python

An introduction to writing code in Python - from scratch!

Author

Dan Chalk and Sammi Rosser

Published

February 5, 2025

Attribution and Acknowledgements

This book is an adaptation of a series of lectures given by Dr Daniel Chalk as part of the HSMA programme.

All lectures and accompanying code examples and exercises were written by Dr Daniel Chalk and made available under the CC BY-NC-SA 4.0 licence.

The chapters often replicate the wording of these lectures nearly exactly, with tweaks and additions for readability and to better suit the format of a book made by Sammi Rosser.

HSMA 6: Intro to Programming Concepts

Slides

Video

HSMA 6: Intro to VSCode

Slides

Video

HSMA 6: Python Programming Lecture 1

Slides

Github

HSMA 6: Python Programming Lecture 2

Slides

Github

HSMA 6: Python Programming Lecture 3

Slides

Github

The HSMA Programme

To find out more about the HSMA programme, visit our

Website

Github Repository

Youtube Channel

Licencing of this Ebook

The text and images in this book are licenced under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.