Commits

Alex Chan committed 1f2a39c5f3d
Tidy up Python file handlers Rather than using `f = open(path).read()`, which leaves the file open for an indeterminate period of time, switch to the `with open(path) as f` idiom, which ensures the file is always closed correctly.