If you already have the book and just need the code for the exercises, there are repositories on GitHub that host example scripts and solutions.