These are the notes for the second OpenAstronomy workshop held at The University of Sheffield between the 12th and 16th September 2016. The first two days of the workshop consisted of the core syllabus of Software Carpentry, covering git, bash and an introduction to programming with Python. The last three days provided an introduction to Python tools for Astronomy and Solar Physics.