In your account details with Packt is a link to download the code samples. Same place you download the ebook if you ordered it as well.
Wish I got an email to remind me that the ebook was available on my account since they generate a copy with your name/address in the footer.
-- W