|
||||||||
|
|
||||||||
|
Learning Python, Second Edition
[ILLUSTRATED]
|
||||||||
|
|
||||||||
Learning Python, Second Edition
|
|
The authors of Learning Python show you enough essentials of the Python scripting language to enable you to begin solving problems right away, then reveal more powerful aspects of the language one at a time. This approach is sure to appeal to programmers and system administrators who have urgent problems and a preference for learning by semi-guided experimentation. |
||||||
|
First off, Learning Python shows the
relationships among Python scripts and their interpreter (in a mostly
platform-neutral way). Then, the authors address the mechanics of the
language itself, providing illustrations of how Python conceives of
numbers, strings, and other objects as well as the operators you use to
work with them. Dictionaries, lists, tuples, and other data structures
specific to Python receive plenty of attention including complete
examples.
Authors Mark Lutz and David Ascher build on that fundamental information in their discussions of functions and modules, which evolve into coverage of namespaces, classes, and the object-oriented aspects of Python programming. There's also information on creating graphical user interfaces (GUIs) for Python applications with Tkinter. In addition to its careful expository
prose, Learning Python includes exercises that both test your
Python skills and help reveal more elusive truths about the language. --This
text refers to an out of print or unavailable edition of this title.
Most Helpful Customer Reviews And now that I've read it, I can highly recommend it even for experienced programmers. You will have to skim over basics in various chapters, but it's well-written and covers many topics, including 5-10 pages on 2.2's new-style classes, including static and class methods, instance slots, class properties, and __getattribute__. It refers you to Python's documentation for the details of complex topics, but still gives you an idea of the concepts in play. For example, after a couple of paragraphs on instance slots, it says, "... Slots are something of a break with Python's dynamic nature, which dictates that any name may be created by assignment. They also have additional constraints and implications that are far too complex for us to discuss here (e.g. some instances with slots may not have an attribute dictionary __dict__); see Python 2.2 release documents for details." Which I think is a good compromise. They don't fill the book with details, but they don't simply wave their hands and give you no clue as to issues outside the scope of the book. It is well-written and well-organized. It covers the core language well and gives a good taste for standard packages and many other tools including things like Pyrex and ctype. (And you won't be disappointed with Python itself. A great language!) Together with "Perl: the programmer's companion", by Nigel Chapman, this is one of the best introductory book I ever read. If you already know "Programming Python", the previous book of Mark Lutz on Python, and are concerned about the possibility that this book was just another messy collection of concepts and tips, relax: this is a completely different object. "learning Python" is a well-designed, well-written and concise book. It gives you all you need to write system administration utilities, Internet-related programs and other small applications. (Should you need a book on TKinter, the standard GUI module of Python, buy "Python and TKinter programming", by John Grayson, Manning publisher).Consider to buy this book because: - It is clear and well written. No struggles to understand the basic concepts and having the first programs running. - It is well-designed and well-structured. You can find the info you need in a snap. - You get a real understanding of Python, not only a description of its nice features. - It is concise. In a day or two you will be coding in Python. - It is a very good guide to keep on your desk. It is the missing part of the online documentation. - In describes how to perform the most common task with Python. You will not have to reinvent any wheel. - It describes a few important modules of Python: JPython, TKinter and COM. You can get a feeling of what you can do with Python (but, to go further, you will have to read the online documentation and perform a few experiments by yourself). Python is a very smart language and deserved a better book than "Programming Python". This is that book.
|
||||||||
| ||||||||||||||||||||||||||||