Use the following link, then click the link at the bottom to download the data files for the book. http://esripress.esri.com/bookresources/index.cfm?event=catalog.book&id=8
... View more
Your first set of code worked for me, I just copied and pasted what you had. Just be sure you have advanced checked and your parser is set to Python.
... View more