|
|
Related products:
|
Python
Python Developer's Handbook (Other Sams)
why is this book still in print?
major mistakes >>> y = copy. copy(x) The author states here, "As you can see, this function provides the same result that y=x[:] does. It creates a new object that references the old one. If the original object is a mutable object and has its value changed, the new object will change too. " The author's statement is totally wrong, given the example he presents. In this case, y is a copy of x, and changing either one will not change the other, as the following shows: >>> x=[1,2,3,[4,5,6]] [1, 2, 3, [4, 5, 6]] major mistake: >>> def printGlobalcount():
more subtle mistakes: The class names are first mentioned as Student and NewStudent, but in the next few pages they change case, and mysteriously become student, and newstudent. >>> studentfile. newstudent. __name__ Final Word: Overall, I have serious reservations about recommending this book to anyone but a proofreader. I found way too many mistakes in the initial analysis of the book for it to be very useful to any serious python programmer. Overall Rating: I give this book 2 stars out of 5.
This fit the bill fairly well, but there are a number of frustrating things. The poor editing job to clean up the author's English is the biggest. The layout of paragragh name, content, examples is sometimes accidentally inconsistant, i. e. more poor editing. While it covers a lot of library code in its 900+ pages, it leaves out some stuff I would use a lot. Perhaps the sections on interacting with Java and C should be in a separate book. Think of this book as something that touches on everything but needs to be augmented by more detailed books in areas of interest. Finally, the Python 2. x information was added late in the process. That was not a big deal, as I had been writing to 1. 5 specs. All in all, the book was worthwhile and I expect to keep using it, but I'm about to buy "Web Programming In Python" sight unseen. It's time to move on. |
|
Go to lyrics-now.com for music lyrics and song lyrics.
Bass and guitar tablatures: Fretplay.com, Guitar tabs, Bass tabs, Fresh tabs, How to read tabs Plan your travel and holiday here: Travel Helper! |